CS FundamentalsVery hardGATE CS

A TCP receiver using SACK has received bytes 1–1000, then 4001–5000, then 2001–3000, in that order; byte 1001 is still missing. What does the ACK sent after 2001–3000 arrives carry?

  1. A. ACK 3001 with SACK block 4001–5001
  2. B. ACK 1001 with SACK blocks 4001–5001 first, then 2001–3001
  3. C. ACK 5001 with no SACK blocks
  4. D. ACK 1001 with SACK blocks 2001–3001 first, then 4001–5001

Correct answer: D. ACK 1001 with SACK blocks 2001–3001 first, then 4001–5001

The cumulative ACK stays at 1001 (the first missing byte). SACK blocks give [left edge, right edge) of received runs, and RFC 2018 requires the block containing the most recently received segment to be listed first, so 2001–3001 precedes 4001–5001.

More Computer Networks questions

Exams that ask this topic