CS FundamentalsHardGATE CS · networking placement

Selective Repeat with individual (non-cumulative) ACKs and window 4 sends frames 0–3. All four arrive; ACKs 0, 1 and 3 arrive, but ACK 2 is lost. What happens next?

  1. A. Nothing is resent, because ACK 3 implicitly confirms frame 2
  2. B. Frames 2 and 3 are resent when the timer for frame 2 expires
  3. C. Only frame 2 is resent on its timeout; the receiver discards the duplicate and ACKs it again
  4. D. The receiver sends a NAK for frame 2, and then the sender resends frames 2 and 3

Correct answer: C. Only frame 2 is resent on its timeout; the receiver discards the duplicate and ACKs it again

In SR each frame has its own timer and an ACK confirms only that frame, so frame 2 alone is retransmitted. The receiver has already delivered it, so it drops the copy but must re-ACK it or the sender would retry forever. With cumulative ACKs (Go-Back-N) ACK 3 would have covered frame 2.

More Computer Networks questions

Exams that ask this topic