CS FundamentalsModerateGATE CS · Product company CS fundamentals

Host A sends three TCP segments to B: seq 3200 (400 bytes), seq 3600 (500 bytes) and seq 4100 (300 bytes). The second is lost; B ACKs every segment it receives. After A's retransmission of the lost segment arrives, what acknowledgement number does B send?

  1. A. 4100
  2. B. 4400
  3. C. 4401
  4. D. 3600

Correct answer: B. 4400

B buffers the out-of-order segment 4100–4399 and keeps sending ACK 3600 (a duplicate). When bytes 3600–4099 arrive, the gap is filled and the cumulative ACK jumps past the buffered data to 4400, the next byte B expects.

More Computer Networks questions

Exams that ask this topic