Archived

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

bigwiger

Hooking two players up

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
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