Suppose there are 4 packets to be sent out at the
sender. During the transmission, the second packet is lost. All
other packets and ACKs are received correctly. We assume the packet
transmission takes 2 minutes, the RTT is 20 minutes, the timer is
35 minutes. Draw a diagram to illustrate the packet and ACK
transmission sequence and the specific time for each packet
receiving and ACK receiving using (a) stop-and-wait protocol, (b)
Go-back-N protocol with N=3. Note you need to draw two
diagrams!
In stop and wait protocol, one segment is sent at a time and then wait for acknowledgement. After successful receive of acknowledgement, next frame is sent. In go back N, all N frame are sent at a time and then if any segment is lost in window N then all the frames from lost segment to end of window is resent.
If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks
Get Answers For Free
Most questions answered within 1 hours.