Hooking two players up

Started by
0 comments, last by bigwiger 19 years, 10 months ago
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?
Disgruntled designers are always the best ones
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).
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement