SESK: Stuff Everyone Should Know · sesk.info/tech-tcp-handshake
After DNS finds the server's IP address, how does the browser open a TCP connection?
A three-way handshake: SYN, SYN-ACK, ACK.
- It sends the whole page request at once
- A single PING message
- A three-way handshake: SYN, SYN-ACK, ACK ✔
Why: The browser sends SYN, the server answers SYN-ACK, and the browser replies ACK. Only then can data flow. For HTTPS, a TLS handshake follows to agree on encryption and verify the server.
Huh, didn't know that: The first chunk of a page is usually about 14KB because TCP slow start sends a small amount first and ramps up.
I wanted to tell you a TCP joke, but I would have to keep resending it until you got it.
Like this card?
References
Answer: A three-way handshake: SYN, SYN-ACK, ACK. The browser sends SYN, the server answers SYN-ACK, and the browser replies ACK. Only then can data flow. For HTTPS, a TLS handshake follows to agree on encryption and verify the server.
- MDN: How browsers work developer.mozilla.org/en-US/docs/Web/Performance/Guides/How_browsers_work
Once the IP address is known, the browser sets up a connection to the server via a TCP three-way handshake
Checked 2026-10-11.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.