Hi folks, I'm doing a test here to better understand TCP/IP and its
implementation on Linux.
I finished to read the Stevens book Vol1.
What I'm trying to do is to create a server, and then connect to it to
send 10 packages of 1024 bytes each. What's the problem??
When they exchange the SYN flags its all ok, and the advertised window
from server is 5792 and the client's window is 5840. At this point,
fine.
But when the first packet of 1024 bytes is sent, both the client and
server advertise a 46-bytes window.
And then, as the packets get ACKed, it grows from the client side, the
window grows by 1 segment at time, I thought it should be the
congestion avoidance, right?
But why 46 bytes window size??
The client never changes its window size, its 46 bytes for the entire
connection, as it has no receiving data, it should state at this
point.
The tcpdump of this connection is in:
http://pastebin.com/m6784db94
Thanks