Question

Suppose there are 4 packets to be sent out at the sender. During the transmission, the...

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!


Homework Answers

Answer #1

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

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The Stop-and Wait Protocol is being used to send three data characters ‘U’, ‘S’, and ‘A’, with each character in a separate packet. Suppose the channel causes every alternate data packet to be received with errors, starting with the first packet. This means the 1st, 3rd, 5th, etc. data packets are received with errors, while the 2nd, 4th, 6th, etc. data packets are received correctly....
Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive...
Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive data segments and their corresponding ACKs can be received (if not lost in the channel) by the receiving host (Host B) and the sending host (Host A), respectively. Suppose Host A sends 5 data segments to Host B, and the 2nd segment (sent from A) is lost – this is the only data segment or ACK loss. In the end, all 5 data segments...
Multiple choice questions: Circle the correct answer 7) Consider Go-Back-N protocol. Suppose that Host A sends...
Multiple choice questions: Circle the correct answer 7) Consider Go-Back-N protocol. Suppose that Host A sends 6 data segments to Host B, and the 4th segment is lost. In the end, all 6 data segments have been correctly received by Host B. Assume that the timeout values is sufficiently long such that 6 consecutive data segments and their corresponding ACKs can be received (if not lost in the channel) by Host B and Host A, respectively before the timer times...
Consider a scenario where two hosts use a sliding window protocol, either Go-Back-N or Selective Repeat,...
Consider a scenario where two hosts use a sliding window protocol, either Go-Back-N or Selective Repeat, to exchange data packets. Assume that the RTT is 30 milliseconds and the sending rate is R = 1Gbps, and the size of every packet is L = 2,000 bytes, including both header fields and data. (a). How big would the window size have to be for the channel utilization to be greater than 98%? (b). Assume that we use the window size calculated...