Interactive LabClient-side Simulation
TCP State Machine & Sliding Window
TCP 3-way handshake, 4-way termination, and sliding window congestion control simulator.
TCP Connection ESTABLISHED. Sliding window active.
TCP Connection State Lifecycle
CLOSED
→SYN_SENT
→SYN_RECEIVED
→ESTABLISHED
→FIN_WAIT_1
→TIME_WAIT
Sender Sliding Window
Congestion Window (CWND): 4 Segments | ssthresh: 16
Seq #1ACKed
Seq #2ACKed
Seq #3In-Flight
Seq #4In-Flight
Seq #5In-Flight
Seq #6In-Flight
Seq #7Ready
Seq #8Ready
Sent & ACKed
In-Flight (Sent unacked)
Packet Loss
Outside Window