Concept Flow - TCP congestion control
Start Connection
Initialize cwnd = 1 MSS
Send packets
Receive ACKs?
No→Timeout or Loss Detected
Reduce cwnd (slow start or congestion avoidance)
Increase cwnd
Check cwnd vs ssthresh
Slow Start
Repeat Sending Packets
TCP congestion control starts with a small window, increases it when ACKs arrive, and reduces it when packet loss or timeout occurs, switching between slow start and congestion avoidance phases.