From 48e685a058c261d1b372573ff3432bfae81d50c9 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Fri, 19 Aug 2011 05:02:45 -0400 Subject: [PATCH] Try long MINDELAY and shorter HEADER --- networktransport.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/networktransport.hpp b/networktransport.hpp index f91e778..01b5e78 100644 --- a/networktransport.hpp +++ b/networktransport.hpp @@ -80,8 +80,8 @@ namespace Network { static const int SEND_INTERVAL_MAX = 250; /* ms between frames */ static const int ACK_INTERVAL = 1000; /* ms between empty acks */ static const int ACK_DELAY = 10; /* ms before delayed ack */ - static const int SEND_MINDELAY = 20; /* ms to collect all input */ - static const int HEADER_LEN = 120; + static const int SEND_MINDELAY = 50; /* ms to collect all input */ + static const int HEADER_LEN = 74; /* helper methods for tick() */ unsigned int send_interval( void );