After DNS finds the server's IP address, how does the browser open a TCP connection?

A three-way handshake: SYN, SYN-ACK, ACK.

Start playing free

  1. It sends the whole page request at once
  2. A single PING message
  3. 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.

The dad joke
I wanted to tell you a TCP joke, but I would have to keep resending it until you got it.
Like this card?
Play the game

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.

  1. 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.

Test yourself in the game