You are on page 1of 15

Flow Control and Error Control

Flow Control
Coordinates the amount of data that can be
sent before receiving acknowledgement.
Error Control
It allows the receiver to inform the sender of
any frames lost or damaged in transmission
and coordinates the retransmission of those
frames by the sender.
Stop and Wait
Sliding Window

• The Sliding window refers to imaginary


boxes at the both the sender and the
receiver.
• It provides the upper limit on the number of
frames that can be transmitted before
requiring an acknowledgment.
Sender Sliding Window
Receiver Sliding Window
Sliding Window Example
Sender
Receiver
Stop-and-wait ARQ
Damaged Frame
Sliding Window ARQ – Go-Back-n ARQ

Damaged Frame
Lost Frame
Lost ACK
Selective Reject
Damaged Frame

You might also like