Explain like I'm five · Network

What is TCP Error, Flow, and Congestion Control?

TCP's error, flow, and congestion control, told as a story about three devices guarding a registered delivery to the end.

the carrier keeps sending registered envelopes without a pauseenvelopes tear, the mailbox overflows, and the road jams

The carrier keeps sending registered envelopes without a pause.Envelopes tear, the mailbox overflows, and the road jams.

damaged or lostmailbox overflowingthe whole road jams

Three failures at once are far worse than one at a time.Damage and loss, an overflowing mailbox, and a jammed road all arrive together.

TCP's error, flow, and congestion control = the three devices that guard a registered delivery to the endTCP resends lost envelopes, slows when the mailbox overflows, and sends fewer when the road jams

TCP's error, flow, and congestion control are three devices guarding a registered delivery to the end.TCP resends lost envelopes, slows when the mailbox overflows, and sends fewer when the road jams.

Error controlno acknowledgment means the envelope gets resent
Flow controlsends only as much as the mailbox can hold (window)
Congestion controlsends fewer trucks when the road jams
Timeoutno reply in time also triggers a resend
number of trucks sent (congestion window)slowly growsa jam cuts it sharplygrow then cut, again and again — sending only what the road can bear

The congestion window grows, then cuts, again and again.The sender slowly adds trucks, then cuts sharply when the road jams.

papers and payments stay safe thanks to these three deviceslive video gets slower precisely because of these deviceswhere a little loss is fine, the plain envelope (UDP) can be the better fit

The three devices' checks and resends can make live video lag.Where a little loss is fine, the plain envelope (UDP) can be the better fit.

In one breath

TCP guards a registered delivery to the end with three devices: error control (resend what's lost), flow control (match the receiver's pace), and congestion control (slow down when the road jams).

Error control recovers loss and corruption through checksums, ACKs, and retransmission (timeout, fast retransmit). Flow control uses the receive window to throttle the sender so the receiver's buffer never overflows. Congestion control estimates network congestion itself, growing the congestion window via slow start and congestion avoidance, then cutting it on detected loss (classic AIMD) to keep the whole path from overloading.

When grown-ups say it

Error control
The device that resends what was lost or damaged. Detected via checksum and acknowledgment (ACK).
Flow control
The device that sends only as much as the mailbox can hold. Matches pace to the receive window size.
Congestion control
The device that sends fewer trucks when the road jams. Grows then cuts the congestion window (AIMD).
ACK
The note confirming something arrived safely. Its absence is what triggers a resend.
Timeout/retransmission
The rule that resends when no reply comes in time. A core mechanism of error control.
3-way handshake
The three greetings exchanged before anything is sent. The step TCP takes before any of this control begins. → the registered envelope and the plain one
TCP/UDP
The registered envelope and the plain one. The plain envelope (UDP) has none of these three devices. → the registered envelope and the plain one
5G Network slicing
Splitting one road into dedicated lanes. Lane guarantees shake too once the whole road jams. → splitting the road into lanes
Next story
The Delivery Map That Redraws Itself →
Want another term as a picture book? Request →