Back to Tools
NetworkingBeginnerLive

TCP Handshake Visualizer

tcphandshakenetworkingvisualizationsynack

Updated Mar 6, 2026

A step-by-step visual walkthrough of how TCP connections are established and torn down. Watch the SYN → SYN-ACK → ACK exchange animate in real time, then explore graceful close, reset, and simultaneous close scenarios.

Includes play/pause/step controls, adjustable speed, optional sequence numbers, a step-by-step log, and a quick-reference flag table. Great for students learning networking fundamentals or engineers who want a visual refresher.

Establishes a TCP connection between client and server.

Client
CLOSED
Server
LISTEN
C
SYN
S
S
SYN+ACK
C
C
ACK
S

Press Play or Step to begin.

Step Log

  1. Step 1: Client → Server: SYNClient sends SYN to initiate a connection.
  2. Step 2: Server → Client: SYN+ACKServer acknowledges and sends its own SYN.
  3. Step 3: Client → Server: ACKClient acknowledges — connection established.

What You're Seeing

The 3-way handshake establishes a TCP connection. The client sends a SYN, the server replies with SYN+ACK, and the client confirms with ACK. Only after all three packets are exchanged can data flow in both directions.

FlagMeaning
SYNSynchronize — initiates a connection
ACKAcknowledge — confirms receipt
FINFinish — requests connection close
RSTReset — immediately aborts connection
SYN+ACKServer agrees to connect and acknowledges
FIN+ACKClose request with acknowledgment