DemonTPx/smashbattle — pull request #19 by rayburgemeestre (2014-01-19 22:04:27+00:00)
Title: Implement additional UDP connection on same port between client <> server

Proof of concept containing:
- UDP Packets are linked to client sockets using random 64bit keys.
- UDP Packets have a sequence field, as the time can still yields collisions.
- Sequence fields are checked, and the short field is handled correctly with overflows.
- Only the SetPlayerData command is now transmitted over UDP.

Todo:
- Lag is not calculated on the UDP connection, but on the TCP connection.
- Calculate packet loss, and show indicator somewhere just like with FPS.