diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-21 00:05:07 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-21 00:05:07 +0000 |
| commit | 24899a13e8863e59027e993a61e9b2ef6787b74b (patch) | |
| tree | b12072e289b28395b63b677336815ec472479eb6 /src/tools | |
| parent | 30695c09a8fde8b88b8fa58427e0eb2293696e58 (diff) | |
| download | zcatch-24899a13e8863e59027e993a61e9b2ef6787b74b.tar.gz zcatch-24899a13e8863e59027e993a61e9b2ef6787b74b.zip | |
improved the prediction timer to handle crappy connections better
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/crapnet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/crapnet.cpp b/src/tools/crapnet.cpp index b862437d..2b86755e 100644 --- a/src/tools/crapnet.cpp +++ b/src/tools/crapnet.cpp @@ -20,11 +20,11 @@ static PACKET *last = (PACKET *)0; static int current_latency = 0; static int config_log = 0; -static int config_ping = 150; -static int config_pingflux = 50; +static int config_ping = 40; +static int config_pingflux = 20; static int config_pingspike = 0; -static int config_packetloss = 10; // in percent -static int config_reorder = 1; +static int config_packetloss = 1; // in percent +static int config_reorder = 0; int run(int port, NETADDR dest) { |