CS FundamentalsHardGATE CS (PYQ pattern)

A TCP receiver has a 65,536-byte receive buffer. It has received data up to byte 150,000 (LastByteRcvd) and the application has read up to byte 120,000 (LastByteRead). What window does it advertise?

  1. A. 35536
  2. B. 30000
  3. C. 65536
  4. D. 95536

Correct answer: A. 35536

RcvWindow = RcvBuffer - (LastByteRcvd - LastByteRead) = 65,536 - 30,000 = 35,536 bytes.

More Computer Networks questions

Exams that ask this topic