The GATE Grind

GATE 2018 CS – Question 35

Computer Networks · TCP: Flow Control, Congestion Control, Socket API · 1 mark · Numerical answer

Consider a long-lived TCP session with an end-to-end bandwidth of 1 Gbps ($=10^9$ bits-per-second). The session starts with a sequence number of 1234. The minimum time (in seconds, rounded to the closest integer) before this sequence number can be used again is ________.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 34

Explanation

The sequence number space has $2^{32}$ byte numbers. At 1 Gbps the sender can send $\frac{10^9}{8}$ bytes per second, so wrapping takes $\frac{2^{32}\times8}{10^9}=34.4\approx34$ seconds.