My friend told me that when I send data, TCP buffers them first (TX buffer size is 64kB), segments according to MSS, encapsulates, and forwards to L3. Then I started to wonder what would happen in L4 if I need to send exactly 64kB of data. My assumption is that TCP first buffers 64kB of data -> TX 64kB buffer is full -> L4 segments and encapsulates -> 64kB buffer will overflow because of TCP header size :(
If you know what actually happens in TCP Buffer and L4 when A sends exactly 64kB to B please let me know. Let's assume that rwnd and cwnd are both 64kB.
No comments:
Post a Comment