Answer the following questions related to the FSMs for the Selective-Repeat protocol with m = 7 bits.

Question:

Answer the following questions related to the FSMs for the Selective-Repeat protocol with m = 7 bits. Assume the window size is 64. (Figure 23.34):

Figure 23.34 FSMS for SR protocol Sender Time-out. Resend all outstanding packets in window. Reset the timer. Request came from process. Make a packet (seqNo = S). Store a copy and send the packet. Start the timer for this packet. Set S, = S, + 1. Window full (Sa =

a. The sending machine is in the ready state with Sf = 10 and Sn = 15. What is the sequence number of the next packet to send?
b. The sending machine is in the ready state with Sf = 10 and Sn = 15. The timer for packet 10 times out. How many packets are to be resent? What are their sequence numbers?
c. The sending machine is in the ready state with Sf = 10 and Sn = 15. An ACK with ackNo = 13 arrives. What are the next values of Sf and Sn? What is the action in response to this event?
d. The sending machine is in the blocking state with Sf = 14 and Sn = 21. What is the size of the window?
e. The sending machine is in the blocking state with Sf = 14 and Sn = 21. An ACK with ackNo = 14 arrives. Packets 15 and 16 have already been acknowledged. What are the next values of Sf and Sn? What is the state of the sending machine?
f. The receiving machine is in the ready state with Rn = 16. The size of the window is 8. A packet with sequence number 16 arrives. What is the next value of Rn? What is the response of the machine to this event?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: