Communication Networks · Visualized
Stop-and-Wait ARQ
Transport Reliability
TCP connections, retransmission timers and sliding windows that make lossy links behave.
6 interactive subtopics — each one animated, step-through and explained.
Stop-and-Wait ARQ
Transport ReliabilityStop-and-Wait is the simplest reliable protocol: transmit a single numbered frame and freeze until its acknowledgment arrives. If the ACK (or the frame) is lost, a timeout fires and the frame is resent. Correct but glacially slow — throughput collapses to one frame per round-trip time.
How Stop-and-Wait ARQ Works
- Sender transmits frame n, starts a countdown timer, and stops.
- Receiver checks the checksum; if good, stores it and returns ACK n.
- Sender receives ACK n, cancels the timer, and only then sends frame n+1.
- Timer expiry (lost frame or lost ACK) triggers a resend of the same frame.
- Duplicate arrivals are spotted by sequence number and silently dropped while the ACK is repeated.
Stop-and-Wait ARQ Worked Example
Try it: Play — frame 0 succeeds; frame 1 is lost in transit; the timeout bar empties before the resend succeeds.
Note the dead air after each send: the pipe sits empty while the ACK crawls back. On a 50 ms RTT link sending 1 KB frames, that caps you near 160 kbps no matter how fat the link is.
Stop-and-Wait ARQ: Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.