The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+1 vote

Suppose, In Selective Repeat Protocol 10 packets are sent and every 4th packet is lost. 

Then, 1 2 3 4 4 5 6 7 7 8 9 10 10  {bold denote lost packets, so retransmitted!}

 Is this the right order of transmission of packet no.??

asked in Computer Networks by Active (1.6k points) | 120 views
Yes, it is right.
Order may differ..Lost packet will be resent after its time out at sender side

But it is sure that only Lost packet will be retransmitted!
This question needs more clarification with regards to the window size.. Otherwise, its no different to a window size of 4 in Go-Back-N.

1 Answer

0 votes
The lost packets will be retransmitted after getting the respective ACKs. So the correct order should be 123456789104710 right ?
answered by (17 points)
Order may vary but yes lost packets 4 7 10 will be retransmitted. Retransmission of packet will be done when sender does not found ACK till it's Time Out.

Assuming that the transmission of the lost packets happens at the end (i.e., after the sender has finished transmitting all its packets), then can we have the following order ? (Packets given in italicized and bold indicate the lost packets.) 

1 2 3 4 5 6 7 8 9 10 4 8 8

Every 4th packet is getting dropped (4, 8 and 8)..

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

40,903 questions
47,560 answers
62,306 users