Professional Documents
Culture Documents
Disadvantage
● Inefficient (Slow)
○ Each frame must travel all the way to the receiver
and an ACK must travel all the way back before the
next frame can be sent
○ If the distance between devices is long, the time
spent waiting for ACKs between each frame can be
significantly long
Sliding Window
● A sender can transmit several frames continuously
before need a ACK.
● If ACK received received by the sender before
continuous transmission is finished, sender can
transmit.
● An ACK can acknowledge the correct receipt of multiple
frames at a receiver (cumulative ACK)
○ Sender assigns a frame number to each frame
Sliding Window
Sliding Window
● Sender maintain three (3) state variables
○ Sender Window Size (SWS)
■ The size of the window the sender sent
○ Last ACK Received (LAR)
■ Frame number of the last acknowledgement
received
○ Last Frame Sent (LFS)
■ Frame number of the last frame sent
Sliding Window
Sliding Window
Sliding Window
● Receiver maintain three (3) state variables
○ Receiver Window Size (RWS)
■ Upper bound on the number of out of order
frames that the receiver is willing to accept
○ Largest Acceptable Frame (LAF)
■ Frame number of the largest acceptable frame
○ Last Frame Received (LFR)
■ Frame number of the last frame received
Retransmission
● Fewer, retransmissions
Disadvantages