ddnet/src/mastersrv
heinrich5991 1d81d56850 Introduce new, vanilla-compatible server info protocol
This means that we have a reliable and fast way to query for extended info,
while also not wasting network bandwidth.

The protocol is designed to be extensible, there's four bytes space for
encoding more request types (currently zeroed), and there's one string in each
response packet and one string for each player available (currently the empty
string).

The protocol itself has no problems with more than 64 players, although the
current client implementation will drop the player info after the 64th player,
because it uses a static array for storage.

Also fixes #130, the player list is just sorted each time new player info
arrives.
2017-03-29 12:56:13 +02:00
..
mastersrv.cpp Clean up debug messages a bit (lower case, no useless errors) 2016-05-02 21:35:32 +02:00
mastersrv.h Introduce new, vanilla-compatible server info protocol 2017-03-29 12:56:13 +02:00