SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
James F. Kurose, Keith W. Ross
Chapter:
Transport Layer
Exercise:
Review
Question:12 | ISBN:9780132856201 | Edition: 6

Question

Visit the Go-Back-N Java applet at the companion Web site.

a. Have the source send five packets, and then pause the animation before any of the five packets reach the destination. Then kill the first packet and resume the animation. Describe what happens.

b. Repeat the experiment, but now let the first packet reach the destination and kill the first acknowledgment. Describe again what happens.

c. Finally, try sending six packets. What happens?

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

 

A.Have the source send five packets, and then pause the animation before and of the fivepacket reach the destination. Then kill the first packet and resume the animation. Describe what happens.

-The packets were received out of order and no packets were acknowledged. The packets werethen retransmitted. Once they were retransmitted and received and ACK was sent to the sender.

B.Repeat the experiment, but now let the first packet reach the destination and kill the firstACK. Describe what happens.

-The first ACK was lost but the others made it to the sender and their timers were stopped.

C.Finally, try sending six packets. What happens?

-It only lets you send 5 packets out at once. Before the sixth packet can be sent you must wait forthe first packet to finish the ACK.

1 0

Discussions

Post the discussion to improve the above solution.