Computer Networks · TEE · read

Compare all three ARQ protocols

Unit 3 · Flow control and ARQ

TEE · Unit 3 before ALOHA · current syllabus 702AI0C023

Practice question. Compare Stop-and-Wait, Go-Back-N and Selective Repeat ARQ. [5 practice marks]

Answer

PropertyStop-and-WaitGo-Back-NSelective Repeat
Outstanding sender frames1Up to 2^m−1Up to 2^(m−1), equal windows
Receiver window11Same maximum as sender in standard equal-window SR
ACK convention used hereNext expectedCumulative, next expectedIndividual frame accepted
Out-of-order dataNot deliveredDiscardedBuffered within valid window
After timeoutRepeat the one frameRepeat outstanding frames from baseRepeat only timed-out frame
Buffer/tracking costLowSender window; simple receiverSender and receiver windows; per-frame tracking
TradeoffSimple but idle during RTTGood pipelining, waste after lossEfficient loss recovery, greater complexity

Every comparison assumes finite sequence numbers, correct duplicate handling and the textbook protocol models. The same text “ACK 3” can mean different things under different ACK conventions; state its meaning before explaining a trace.