ARQ (Automatic Repeat reQuest) is an error-control protocol used in data communication to ensure reliable transmission. It allows the receiver to detect errors in received data and request the sender to resend the corrupted or lost packets. How ARQ Works Data Transmission : The sender transmits packets to the receiver. Error Detection : The receiver checks for errors using techniques like checksums or CRC (Cyclic Redundancy Check). Acknowledgment (ACK/NACK) : If the data is correct, the receiver sends an ACK (Acknowledgment) . If the data is incorrect or missing, the receiver sends a NACK (Negative Acknowledgment) . Retransmission : Upon receiving a NACK or after a timeout (no response), the sender retransmits the packet. Types of ARQ Protocols Stop-and-Wait ARQ : The sender transmits one packet at a time and waits for an acknowledgment before sending the next one. Pros : Simple and easy to implement. Cons : Inefficient for long-distance or high-latency networks (slow due to waiting)....
Networking Lab CSL 332 for KTU students- Dr Binu V P