TCP Connection Visualization

Animation Speed: 1x
Ready to start
Client
CLOSED
Server
LISTENING

TCP Connection Phases

1. Connection Establishment (3-way Handshake): Client initiates with SYN, server responds with SYN-ACK, client confirms with ACK.

2. Data Transfer: Both parties exchange data packets with sequence and acknowledgment numbers.

3. Connection Termination (4-way Handshake): Either side initiates closure with FIN, other acknowledges, then sends its own FIN, which gets acknowledged.

SYN Flag
ACK Flag
FIN Flag
Data Packet
RST Flag