Skip to main content
added 41 characters in body
Source Link
Bobby
  • 39
  • 2

I have written a game that users will download. When the game is started, I want it to automatically connect to the matchmaking server. Does that mean that, somewhere in the source code for the game, I should have something like

url = "www.mygame.com/whatever" port = somenumber 

Are there other options to connect to a server? Do all programs that connect to an external server (i.e., outside of the local network) work this wayover the internet use a hard-coded url and port number?

I have written a game that users will download. When the game is started, I want it to automatically connect to the matchmaking server. Does that mean that, somewhere in the source code for the game, I should have something like

url = "www.mygame.com/whatever" port = somenumber 

Are there other options to connect to a server? Do all programs that connect to an external server (i.e., outside of the local network) work this way?

I have written a game that users will download. When the game is started, I want it to automatically connect to the matchmaking server. Does that mean that, somewhere in the source code for the game, I should have something like

url = "www.mygame.com/whatever" port = somenumber 

Are there other options to connect to a server? Do all programs that connect to an external server (i.e., outside of the local network) over the internet use a hard-coded url and port number?

Source Link
Bobby
  • 39
  • 2

Should non-browser applications connect to a URL?

I have written a game that users will download. When the game is started, I want it to automatically connect to the matchmaking server. Does that mean that, somewhere in the source code for the game, I should have something like

url = "www.mygame.com/whatever" port = somenumber 

Are there other options to connect to a server? Do all programs that connect to an external server (i.e., outside of the local network) work this way?