This is an old revision of the document!
MasterServer
Format
7E 41 03 00 00 [header information]
D9 0A FC FE [four IP octects in network byte order] ( 217.10.252.254 )
E3 2B [port number in network byte order] ( 2b * 256 + E3 = port number 11235 )
Basic Server Info
Send a 10-byte UDP packet off to the server (at the given IP and port) in the following format:
9E 4C 23 00 00 [header information]
C8 (C8 is shorter information) CE is the more detailed information from the server)
28 18 00 00 (4 bytes of your ping value, which will be echoed back in the server response)
Reply
9E 4C 23 00 00 [standard header]
C9
0A (the current net protocol version. If it doesn't match your client's net protocol version, don't display this server, as they are incompatible)
28 18 00 00 (your ping value sent back to you)
Full Server Info
Send a 10-byte UDP packet off to the server (at the given IP and port) in the following format:
9E 4C 23 00 00 [header information]
CE (CE is the more detailed information from the server, including the current player names and other data)
28 18 00 00 (4 bytes of your ping value, which will be echoed back in the server response)
Reply
9E 4C 23 00 00 [standard header]
CF (because it is the more detailed info)
0A (the current net protocol version. If it doesn't match your client's net protocol version, don't display this server, as they are incompatible)
28 18 00 00 (your ping value sent back to you)