Splitting up UDP packet

Posted by m3n on Stack Overflow See other posts from Stack Overflow or by m3n
Published on 2010-06-10T16:38:51Z Indexed on 2010/06/10 16:42 UTC
Read the original article Hit count: 390

Filed under:
|
|

Heyo,

I'm using UdpClient to query game servers about server name, map, number of players, etc.

I've followed the guidelines on this page http://developer.valvesoftware.com/wiki/Server_queries#Source_servers

and I'm getting a correct reply:

alt text

I have no idea how I would go about to get each chunk of information (server name, map and the like).

Any help? I'm assuming one would have to look at the reply format specified in the wiki I linked, but I don't know what to make of it.

Cheers,

© Stack Overflow or respective owner

Related posts about c#

Related posts about udp