Problem
Answer the following questions related to the FSM's for the Go-back-N protocol with m = 6 (Figure 13.26):
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. A time-out occurs. 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?
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 = 18 arrives. 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. A packet with sequence number 16 arrives. What is the next value of Rn? What is the response of the machine to this event?