Revision: 7364
http://warzone2100.svn.sourceforge.net/warzone2100/?rev=7364&view=rev
Author: muggenhor
Date: 2009-05-09 17:22:44 +0000 (Sat, 09 May 2009)
Log Message:
-----------
Add IPv6 support to the lobby protocol
* Add a new field: secondaryHosts, an array of two fallback hosts
- Canibalize the entire "misc" field and part of the "extra" field for this
- When connecting, first try the primary "host" field, then fall back to the
hosts in secondaryHosts (in order)
* Add a new field: gameId, used on the lobby server to link multiple lobby
connections to a single game entry
- First (attempt to) connect to the lobby with all available address families
(currently IPv4 and IPv6)
- Then ask for a gameId from the lobby server using the first established
lobby connection
- Set the gameId field in the GAMESTRUCT to the one retrieved
- Transmit the GAMESTRUCT using a "addg" command to the lobby over each lobby
connection
- The lobby then compares all incoming ID numbers with ID numbers already
present
- If there's a match it will use the GAMESTRUCT already present and only add
a new hostname to the list
This is the last change, part of, and closes #452
Modified Paths:
--------------
trunk/lib/netplay/netplay.c
trunk/lib/netplay/netplay.h
trunk/tools/masterserver/game.py
trunk/tools/masterserver/protocol.py
trunk/tools/masterserver/wzmasterserver.py
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits