HomeNetworks & Graph TheoryTCP/IP Handshake and Congestion Control

🌐 TCP/IP Handshake and Congestion Control

Interactive 3D client-server exchange where stepping through the SYN, SYN-ACK, ACK handshake leads into a congestion window growing and shrinking under simulated packet loss.

Networks & Graph Theory3DModerate60 FPS
tcp-ip-handshake-lab ↗ Open standalone

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.

⚙ Under the hood

Interactive 3D client-server exchange where stepping through the SYN, SYN-ACK, ACK handshake leads into a congestion window growing and shrinking under simulated packet loss.

tcp-iphandshakecongestion-controlnetworkingcomputer-sciencenetworks

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)