Stop and wait ARQ is an error-control method that uses acknowledgements and timeouts to achieve reliable data transmission over an unreliable service. It works as follows:
The transmitter sends a single frame and waits for a corresponding acknowledgement frame from the receiver before sending the next frame. If the acknowledgement is not received within a set time, the frame is retransmitted. Sequence numbers are used to identify frames and acknowledgements.
The main advantages are that it provides both error and flow control, and uses timers to handle lost or corrupted frames. The main disadvantages are low efficiency since only one frame can be sent at a time, and overhead from setting timers for each individual frame. It is commonly used in protocols like B
Advantages of Stopand Wait ARQ over simple Stop and Wait protocolIt can be used for noisy channelsIt has both error and flow control mechanismIt has a timer implementation
Timershould be set for each individual frame. No pipelining.
23.
Senderwindow size is 1 ( disadvantage over go back n ARQ). Receiver window size is 1 ( disadvantage over selective repeat ARQ).
24.
ApplicationsIBM Binary SynchronousCommunication Protocol (Bisync): Character-oriented data link control.Xmodem: Modem file transfer protocol.Trivial file transfer protocol (RFC 1350): simple protocol for file transfer over UDP.