alternatingbit
The alternating bit protocol (ABP) is a simple data-link layer protocol used to achieve reliable transmission of a sequence of frames over an unreliable communication channel. It uses a one-bit sequence number that alternates between 0 and 1 to distinguish successive frames.
In operation, the sender transmits a frame with sequence bit s (0 or 1) and starts a
ABP is a fundamental form of automatic repeat request (ARQ) and is effectively a stop-and-wait protocol with