The congestion window is a variable used during the Slow Start state of TCP’s congestion control algorithm and Flow Control measures. It provides dynamic control over the rate by which a sender can transmit data onto the network.
The congestion window is initial set to the length of the maximum segment size (MSS) during TCP’s Slow Start state. This congestion control measure rapidly increases the MSS until error events like timeouts or duplicate ACKs are detected.