← 🌐 Networks

🌐 TCP/IP Lab

Handshake
SYN SYN-ACK ACK
Phase:
cwnd: segments
ssthresh:
Packets lost: 0
FPS:
Drag — rotate · Scroll — zoom

🌐 TCP/IP Handshake and Congestion Control

Watch a client and server open a TCP connection with the SYN, SYN-ACK, ACK three-way handshake, then send data in bursts that grow the congestion window exponentially during slow start and linearly during congestion avoidance — until a simulated packet loss forces a sharp cutback.

🔬 What It Demonstrates

The three-way handshake that establishes every TCP connection, and the additive-increase/multiplicative-decrease behaviour that produces the classic congestion-window sawtooth under loss.

🎮 How to Use

Adjust link latency, packet loss rate, and the slow-start threshold, then watch packets fly across the link and the congestion-window bar chart respond in real time.

💡 Did You Know?

Van Jacobson's 1988 congestion-control algorithms — slow start, congestion avoidance, fast retransmit — are widely credited with saving the early Internet from repeated congestion collapse.