CS 3413 Data Communications, Fall 2004 Class Assignment on Protocol 6 Answers

variable12344567
ack_expected77107171
next_frame_to_send22222232
frame_expected55505555
to_far11141111
no_nak?FFTF???
nbuffered33123141
arrived[0]FTFFFFFF
arrived[1]FFFFFFFF
arrived[2]TTTFTTTT
arrived[3]TTTFTTTT

Problem 8: Resend frame 1

Problem 9: Send an ack for frame 4

Problem 10: If no_nak is true, send a nak frame, s, with s.ack = 4. In any case, no_nak is now false.