Can now Identify Packet Loss. Enumerated messages that loops around 0-1000.

This commit is contained in:
stiffly
2015-12-10 12:55:28 +01:00
parent 4de613814b
commit 9a8f5293af
3 changed files with 40 additions and 36 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
#define BOARDSIZE 16
#define MAXCONNECTIONS 8
#define INPUTSIZE 128
#define PACKETMODULUS 1000 // How many packets before the number resets
#define PACKETMODULUS 1000 // How many packets to send before the number resets
typedef boost::shared_ptr<boost::asio::ip::udp::socket> socket_ptr;
typedef boost::shared_ptr<std::string> string_ptr;