• Advertisement

Archived

This topic is now archived and is closed to further replies.

Hooking two players up

This topic is 5018 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m creating a networked slime ball game and I''ve got the networked engine pretty much up and running, I just can''t get a could method for hooking up two different players. Anybody know of a good algorithem for doing this?

Share this post


Link to post
Share on other sites
Advertisement
Are they on the same LAN? Then have them UDP broadcast on a specific port, and listen for broadcasts on that port to find other instances of the game.

Are they on the internet? You need a match-making service. Either build one yourself, putting a server on a machine with a known DNS name, or get one of the pre-made solutions (gamespy et al).

Share this post


Link to post
Share on other sites

  • Advertisement