CS FundamentalsVery hardGATE CS (PYQ pattern)

A TCP sender has LastByteSent = 7000 and LastByteAcked = 5000, cwnd = 4000 bytes, and the receiver's advertised window is 3000 bytes. How many more bytes can it send right now?

  1. A. 2000
  2. B. 3000
  3. C. 4000
  4. D. 1000

Correct answer: D. 1000

The usable window is min(cwnd, rwnd) = 3000 bytes. 2000 bytes (7000 - 5000) are already in flight, so 3000 - 2000 = 1000 more may be sent.

More Computer Networks questions

Exams that ask this topic