hey, about local lan discovery,
why don't you simply use UPNP? As much as I do hate SOAP XML(which is being used in UPNP), UPNP is old, reliable and easy to implement. Or, even simpler, just send the IP of a Warzone server along with the game name to broadcast. Clients that are on the lobby screen could spawn a TCP socket on say TCP:2100, listening for such broadcasts and then list the game. The changes necessary for that are like 20 lines of code.
One more important thing when using any networking models that use the Broadcast address - please make it an Opt-in. This is because some networks do route broadcast traffic into other subnets which can cause trouble with IDS systems
What this game needs to be GREAT!
-
Zarel
- Elite

- Posts: 5770
- Joined: 03 Jan 2008, 23:35
- Location: Minnesota, USA
Re: What this game needs to be GREAT!
We already use UPNP for automatic port forwarding.
-
TechWiz
- Trained

- Posts: 33
- Joined: 01 Nov 2009, 02:37
Re: What this game needs to be GREAT!
If you hate SOAP why suggest UPnP =Pantares wrote:hey, about local lan discovery, why don't you simply use UPNP?
mDNS (zeroconf) does primarily and natively what UPnP was extended to do. From what I understand*, UPnP service discovery utterly sucks because UPnP was never intended to be used that way.
* http://www.zeroconf.org/ZeroconfAndUPnP.html