TCP Three-Way Handshake
Standard TCP connection setup with sequence numbers.
Rendering…
Make it your own.
sequenceDiagram
participant C as Client
participant S as Server
Note over C: CLOSED
Note over S: LISTEN
C->>S: SYN seq=x
Note over C: SYN_SENT
S->>C: SYN+ACK seq=y, ack=x+1
Note over S: SYN_RCVD
C->>S: ACK ack=y+1
Note over C: ESTABLISHED
Note over S: ESTABLISHED
C->>S: [Data]
S->>C: [Data + ACK]