Question: Q 2 : Suppose that we use Selective Repeat protocol for reliable data transfer in transport layer. Consider that host A wants to send a
Q: Suppose that we use Selective Repeat protocol for reliable data transfer in transport layer. Consider that host A wants to send a file to host B The file is decomposed into parts, so we have pkt pkt pkt pkt to be sent. Assume that the sequence numbers start from and we have infinite sequence number space so we dont reuse sequence numbers. Also, assume window of size Suppose that the second packet ie pkt is lost and the ack for the third packets is lost as well ie ack All other packets and acks are sent and received correctly and without any delay. Because of these two losses, the sender doesnt receive the acknowledgement for pkt and pkt and their timers expire one after the other just after the ack arrives in the sender and before arrival of ack We assume no loss and delay for any retransmission and its ack. Draw the timing diagram for the file transmission. Mention clearly sequence numbers of data and ack packets, as well as the window at sender side. You dont need to show the window at receiver side. You MUST specify the window status at sender whenever a packet is sent or an ack is received in the diagram Also, mention the actions that happen in sender and receiver upon receiving a packet or ack or timeout. The example actions for packets or acks with sequence number x are send pck xreceive pck xsend ack xreceive ack xdeliverrecord ack x arrivedbuffer Please see lecture slides related to Selective Repeat topic for an example of the timing diagram that is expected for this question.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
