A bank branch in Bandarban gets its internet through a satellite dish on the roof. The link is rated 1 Mbps, which is plenty for a branch. At the end of the day the manager starts sending a 10 MB file to head office with a very polite little program: send one piece, wait until head office says "got it", then send the next piece. She watches the speed meter and frowns. It shows about 16 kilobits per second. At that rate the file needs nearly an hour and a half, when a clean 1 Mbps would finish it in 80 seconds.
Nothing is broken. The dish is fine, the plan is paid up, and no packet is lost. The program is simply spending almost all its time sitting still. A signal takes a quarter of a second to reach the satellite and come down again, so each "got it" costs half a second of silence, and the program sends only one 1,000-byte frame, 8,000 bits, before every silence. This chapter is about exactly that: how a sender and a receiver agree on a pace, how they repair a frame that is lost on the way, and how the answer to the first problem can ruin the second unless you design it with care.
By the end you will be able to say what flow control and error control are and where each lives. You will work out how long a frame takes on a link, and how much of that time a stop-and-wait sender wastes. You will size a sliding window so the line never idles, and you will see why the window and the sequence numbers must be chosen together. You will trace Go-Back-N and Selective Repeat frame by frame when something is lost, count the transmissions, and say which one suits which link. Piggybacking, the other topic that keeps coming back in papers, gets its own short part.