LESSON 33.21 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
TCP: handshake, flow and congestion control
Watch one chat request cross a TCP connection, segment by segment.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 33.21 · GATEWAY LINKHANDSHAKE 50 MS
01
Stage 1 of 6 · Handshake
SYN, SYN-ACK, ACK: the three-way handshake opens the TCP connection. Data waits 1 round trip, 50 ms.
Explain it simply
Before any data moves, the client and the gateway trade three short messages. Each side picks a starting sequence number, a counter for its bytes. That costs one round trip before the first byte of the request. This client is near the gateway: a round trip is 50 milliseconds, not 80 as in lessons 33.02 and 33.23.
Three arrows cross between the client lane and the gateway lane: SYN, SYN-ACK and ACK. The first data leaves at 50 ms.
segmentsACKscwnd, rwnd (dashed), ssthresh (dotted)lossRTO wait, dropped datagram
Toy: R25's 2,432-byte request, 100-byte segments, 50 ms round trip
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Data can start after one round trip.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.