Reputation: 2446
I'm working on an implementation of TCP for a class and I'm wondering what the Window Size field actually mean.
I understand that the window size is the number of bytes, but does that number of bytes apply to:
Thus far, I've looked on Wikipedia:
RFC 793 states that:
The window indicates an allowed number of octets that the sender may transmit before receiving further permission.
RFC 2581 states that:
receiver's advertised window (rwnd) is a receiver-side limit on the amount of outstanding data
Neither of these make it particularly clear. Anyone?
Upvotes: 3
Views: 713
Reputation: 310850
It applies to the payload only. The sender can always transmit ACKs, FINs, RSTs, etc., with no payload.
Upvotes: 5