Explain the TCP three-way handshake.

3 stars If you are short on time, start with this one.

In one or two sentences
Before a connection opens, the client sends SYN, the server answers SYN and ACK, and the client sends ACK. Both sides confirm each other's starting sequence number and readiness.

Think of your own answer first

Say it out loud, or type it below. What you type never leaves this device.

Follow-up questions

These are likely next questions from an interviewer. Think of your answer first, then press the button.

  1. 1 / 3

    Why does closing take four steps?

Sources checked