The GATE Grind

GATE 2026 CS (CS2) – Question 58

Computer Networks · TCP: Flow Control, Congestion Control, Socket API · 2 marks · Numerical answer

Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 48 KB, the maximum segment size (MSS) is 2 KB, and the slow-start threshold for TCP congestion control is 16 KB. Assume there are no timeouts or duplicate acknowledgements. The number of rounds of transmission required for the congestion control algorithm to reach the congestion avoidance phase is __________. (answer in integer)

Note: $1\text{ K}=2^{10}$.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 4 to 4

Explanation

The initial congestion window is one MSS, or 2 KB. The slow-start threshold is 16 KB, equal to 8 MSS. The advertised 48 KB window does not limit these transmissions.

The transmission rounds use windows **2, 4, 8 and 16 KB**. The fourth round is the first transmission round at the threshold, where congestion avoidance begins under the counting convention used by the final key.

There are three window doublings before this round, but the question counts transmission rounds, including the initial round. The official integer answer is **4**.

More TCP: Flow Control, Congestion Control, Socket API questions

All TCP: Flow Control, Congestion Control, Socket API questions →