Having shortened headers, switch to less conservative HEADER_LEN

This commit is contained in:
Keith Winstein
2011-08-26 13:01:01 -04:00
parent ee4f8c3d23
commit 62daa19f28
+2 -1
View File
@@ -1,3 +1,4 @@
#ifndef TRANSPORT_SENDER_HPP #ifndef TRANSPORT_SENDER_HPP
#define TRANSPORT_SENDER_HPP #define TRANSPORT_SENDER_HPP
@@ -22,7 +23,7 @@ namespace Network {
static const int ACK_INTERVAL = 1000; /* ms between empty acks */ static const int ACK_INTERVAL = 1000; /* ms between empty acks */
static const int ACK_DELAY = 10; /* ms before delayed ack */ static const int ACK_DELAY = 10; /* ms before delayed ack */
static const int SEND_MINDELAY = 20; /* ms to collect all input */ static const int SEND_MINDELAY = 20; /* ms to collect all input */
static const int HEADER_LEN = 120; static const int HEADER_LEN = 60;
/* helper methods for tick() */ /* helper methods for tick() */
unsigned int send_interval( void ); unsigned int send_interval( void );