Question: Selective Repeat is one the protocols that utilize the sliding window when sending/receiving packets. Assume that the selective repeat protocol is used on the sender
Selective Repeat is one the protocols that utilize the sliding window when sending/receiving packets. Assume that the selective repeat protocol is used on the sender and the receiver. Please simulate the behavior of the sender side of the communication link to illustrate the behavior of the Selective repeat protocol. Your code should show the steps taken on the sender's side to transmit a number of packets to the receiver. The simulation should let the user of the code determine the window size and the sequence numbers of packets needed to be sent out.
Please include scenarios where we assume that at least one packet being sent out to the receiver is lost.
Write the code in Python or C.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
