diff options
author | Christian Pointner <equinox@anytun.org> | 2007-06-22 16:49:55 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-06-22 16:49:55 +0000 |
commit | 7ca7a28a058b6644913f6e50eb944d657246ada0 (patch) | |
tree | 92ff77371cbcc98a0aa1149700f4d17f10b026fb /anytun.cpp | |
parent | broken makefile fixed (diff) |
seqWindow test
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -64,7 +64,7 @@ void* sender(void* p) seq_nr_t seq = 0; while(1) { - Packet pack(1600); + Packet pack(1600); // fix me... mtu size // read packet from device int len = param->dev.read(pack); @@ -105,7 +105,8 @@ void* receiver(void* p) { string remote_host; u_int16_t remote_port; - Packet pack(1600); + Packet pack(1600); // fix me... mtu size + // read packet from socket u_int32_t len = param->src.recv(pack, remote_host, remote_port); pack.resizeBack(len); |