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.

  1. The size of the senders buffer
  2. 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

SlidingWindowProtocol (last edited 2003-10-13 22:53:41 by yakko)