Error Control
Error Control
SUHAIL Q. MIR
MSc. IT
Directorate of Information Technology & Support Systems
University of Kashmir
The most important responsibilities of the data link
layer are flow control and error control. Collectively,
these functions are known as data link control.
The sender sends one frame and waits for feedback from the receiver. When the ACK arrives,
the sender sends the next frame. Note that sending two frames in the protocol involves the
sender in four events and the receiver in two events.
Stop and Wait with ARQ
Stop and wait with ARQ: Automatic Repeat reQuest (ARQ), an error control
method, is incorporated with stop and wait flow control protocol
timeout
To avoid receiving and
accepting two copies of same
frame, frames and ACKs are
alternatively labeled 0 or 1:
ACK0 for frame 1, ACK1 for
frame 0
timeout
Sliding Window Protocol
(Flow Control )
Discarded
frames to the right of the window cannot be sent
until the window slides over them