What this game needs to be GREAT!

Website issues & feedback. Constructive criticism is welcome.
(Guest posting is allowed under certain circumstances)
If you have a problem with certain individuals, then PM the Staff account.
antares

Re: What this game needs to be GREAT!

Post by antares »

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
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: What this game needs to be GREAT!

Post by Zarel »

We already use UPNP for automatic port forwarding.
TechWiz
Trained
Trained
Posts: 33
Joined: 01 Nov 2009, 02:37

Re: What this game needs to be GREAT!

Post by TechWiz »

antares wrote:hey, about local lan discovery, why don't you simply use UPNP?
If you hate SOAP why suggest UPnP =P
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