Error Control in Data Link Layer (original) (raw)

Last Updated : 9 Jan, 2026

Error control in the Data Link Layer ensures that frames transmitted by the sender are received correctly and reliably by the receiver. It focuses on:

The primary mechanism used for error control is Automatic Repeat Request (ARQ).
In ARQ, if an error is detected or an ACK is not received, the sender retransmits the affected frame(s) until they are successfully received.

There are basically two ways of doing Error control, as given below :

Ways of Error Control

Techniques of error control

**Stop-and-Wait ARQ:

In Stop-and-Wait ARQ, the sender transmits one data frame at a time and waits for an ACK (Acknowledgment) from the receiver. If the ACK is not received within a time limit, the sender retransmits the frame. Once the ACK is received, the sender sends the next frame. This process continues until all frames are successfully delivered.

**Sliding Window ARQ:

Sliding Window ARQ is used for continuous data transmission, allowing the sender to transmit multiple frames without waiting for an acknowledgment for each one. This improves channel utilization and overall efficiency. Sliding Window ARQ is mainly divided into two types:

**Go-Back-N ARQ:

It is an error control protocol in which the sender is allowed to send multiple frames (up to a fixed window size) without waiting for ACKs.

This method is simple to implement but may cause unnecessary retransmissions.

**Selective Repeat ARQ:

It is an error control protocol in which only the frames that are lost or corrupted are retransmitted, unlike Go-Back-N where multiple frames are resent.

The main difference between Go-Back-N ARQ and Selective Repeat ARQ is in the retransmission strategy. In Go-Back-N ARQ, if a frame is lost or corrupted, the sender retransmits that frame along with all subsequent frames in the window. In contrast, Selective Repeat ARQ retransmits only the specific frame that is lost or damaged, making it more efficient.