Back to ComputerTerms
Two sliding windows are maintained one by the receiver and one by the sender.
Sender
The SWS (sender window size) is dependent on two things.
- The size of the senders buffer
- The size of the receiver's window
It gives the number of bytes (TCP/IP) / frames (DataLinkLayer) that can be unacknowledged.
LAR (Last Acknowledgement Received) is the SequenceNumber of the last acknowledged frame.
LFS (Last Frame Sent) is the SequenceNumber of the last frame sent.
LFS - LAR <= SWS
Reciever
The RWS gives the upper bound on the number of out-of-order frames that the receiver is willing to accept. It really only depends on the receiver's buffer size.
LAF denotes the SequenceNumber of the largest acceptable frame.
LFR denotes the SequenceNumber of the last frame received.
LAF - LFR <= RWS
Back to ComputerTerms