Go-Back-N Protocol
The Go-Back-N Protocol is a type of automatic repeat request (ARQ) protocol used in computer networks for reliable data transmission. It allows a sender to send multiple frames before needing an acknowledgment for the first one, but it can only go back and retransmit from the last unacknowledged frame if an error occurs. This helps improve the efficiency of data transfer over unreliable channels.
In this protocol, each frame is assigned a unique sequence number, and the sender maintains a window of frames that can be sent without waiting for an acknowledgment. If a frame is lost or corrupted, the receiver discards all subsequent frames, prompting the sender to go back and resend from the last acknowledged frame. This ensures data integrity but can lead to inefficiencies if many frames need to be resent.