Problem 21
Because the A-to-B channel can lose request messages, A will need to timeout and
retransmit its request messages (to be able to recover from loss). Because the channel
delays are variable and unknown, it is possible that A will send duplicate requests (i.e.,
Here the requestor is waiting for a call from
above to request a unit of data. When it receives a request from above, it sends a
anything it receives from B.
. Here the requestor is waiting for a D0 data message from B. A
timer is always running in this state. If the timer expires, A sends another R0
message, restarts the timer and remains in this state. If a D0 message is received
Here the requestor is waiting for a D1 data message from B. A
timer is always running in this state. If the timer expires, A sends another R1
message, restarts the timer and remains in this state. If a D1 message is received
state. If A receives a D0 data message while in this state, it is ignored.