1,057 views
0 votes
0 votes
I understood that receiver will correctly discard the frames in GBN all ack lost case. But its given that its positive ack and hence receiver wont send ack for discarded frames.Wont the sender be sending the same frames again and again after every timeout as receiver will never send ack again? So how will the sender slide the window to the next frames?

2 Answers

0 votes
0 votes
See these all are connection oriented protocols!. So if Sender is experiencing that nothing is working perfectly [ retransmitting repeatedly] then it will think that something bad is happened [link Down or something else] , so it will stop retransmissions , and transmit agian after some random amount of times , if this also not working then again retransmit after some random amount of time agin if this is also creating problem then it will reset the entire transmission process and it will start from the Scratch [ connect establishment] ,.. during connection establishment if we didn't recieve any acknowledgement from reciever to establish connection then it will think that there is problem in server side[may be in the network] so it will terminate the connection worst case
0 votes
0 votes
what happens if all the ACKs are lost. In that case, the sender will not receive any ACKs for the packets it has sent, and will eventually timeout for each packet in the window. Then it will retransmit all the packets in the window again, until it receives an ACK from the receiver. The receiver will keep discarding any packets that are not in order and send duplicate ACKs for the last correct packet it received. This will continue until either an ACK reaches the sender or the sender gives up after a certain number of retries.

Related questions

0 votes
0 votes
1 answer
3
iarnav asked Nov 8, 2018
1,944 views
Sender Window Size is 7 and every 3rd packet is lost/corrupted. So, how to find channel utilization!?
5 votes
5 votes
3 answers
4