What is SYN? The TCP Handshake Explained

A SYN packet is a tiny digital "Hello!" that starts a conversation between two computers.

The Handshake

Imagine you want to play a game of catch with a friend. You don't just throw the ball immediately. First, you look at each other and wave to make sure you are both ready to play. In the internet world, that wave is the SYN packet.

When your computer wants to talk to a website, it sends out a SYN signal. This stands for Synchronize. It is like knocking on a door and saying, "Hi, are you there?"

The other computer hears the knock. It answers with a "Hi, I am here!" (This answer is called SYN-ACK). Then, your computer says "Okay, let's talk!" (This is called ACK). This three-step greeting is called a Three-Way Handshake.

StepWho sends itWhat it says
1You (Client)SYN: "Hello!"
2Them (Server)SYN-ACK: "Hello back!"
3You (Client)ACK: "Ready to talk!"

If you skip this handshake, data might get lost, like throwing a ball to someone who is not looking. The SYN ensures both sides are ready before the real conversation begins.

Take the quiz →

Examples

  1. Knocking on a door to say hello before entering
  2. Waving to a friend to start a conversation
  3. Raising your hand to signal you want to speak

Ask a question

See also

Loading…

Discussion

Recent activity