Advertisement

Finding Hosts on a LAN

Started by September 27, 2003 05:41 PM
2 comments, last by mobias 21 years, 4 months ago
Hi! In my game I want the player to be able to find servers on a LAN/Internet. How do I go about doing this without scanning every pcs'' ports or having a dedicated server that lists all the people online?
www.envisagecreations.comwww.phpreviews.net
For a LAN you could have the searching client send out a multicast packet and have the server reply.

For the internet... you''ll need a master server.
Advertisement
So say this computer''s IP is 192.168.0.42, how do I find it out and then send a packet to 192.168.0.*??
www.envisagecreations.comwww.phpreviews.net
http://www.gamedev.net/community/forums/topic.asp?topic_id=167812

This topic is closed to new replies.

Advertisement