BeginnerAbout 10 min

    TCP 3-Way Handshake

    Read the full article on Substack

    6 min read.

    Animate the standard Transmission Control Protocol handshake to understand connection reliability.

    Think of it this way: The TCP handshake is like making a phone call: You say "Hello?" (SYN), the other person replies "Hi, I hear you, can you hear me?" (SYN-ACK), and you reply "Yes, I hear you!" (ACK). Now the conversation can begin.

    ClientServerCLOSEDLISTEN

    0/4 The server is listening. The client has no connection yet.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Open a connection

    Sequence

    Order the TCP three-way handshake.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    5 pieces left to place

    Quiz

    21 questions
    Question 1 of 21
    Score: 0

    Which packet type is sent by the server to both acknowledge the client's request and establish its own sequence number?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going