Hooking two players up
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?
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).
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).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement