in Computer Networks edited by
3,076 views
3 votes
3 votes
Consider the GBN protocol with sender and receiver window size as 5.Suppose client sends data 0,1,2,3,4 and only data packet 2 is lost and all ACKs are lost. What will be the content of receiver and sender window. Before Senders timeout value expires ?

 

A. Sender: 01234  ,  Receiver : 01234

B. Sender: 23456  ,  Receiver : 01234

C. Sender: 23456  ,  Receiver : 23456

D. Sender: 01234  ,  Receiver : 23456
in Computer Networks edited by
by
3.1k views

4 Comments

After 2nd packet loss, sender will go back 5 packets

So, sender window can contain 2,3,4,5,6

and receiver hasnot yet able to send any ACK

So, it still contains 0,1,2,3,4
0
0
answer?
0
0
I am also thinking about the same solution, but this seems more like a solution to Selective Repeat.
0
0

2 Answers

0 votes
0 votes
Opt A maybe correct
0 votes
0 votes
i think option D but as receiver also have size window it seems to be SR

Related questions