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:
Problems
Question:24 | ISBN:9780132856201 | Edition: 6

Question

Answer true or false to the following questions and briefly justify youranswer:

a. With the SR protocol, it is possible for the sender to receive an ACK for a packet that falls outside of its current window.

b. With GBN, it is possible for the sender to receive an ACK for a packet that falls outside of its current window.

c. The alternating-bit protocol is the same as the SR protocol with a sender and receiver window size of 1.

d. The alternating-bit protocol is the same as the GBN protocol with a sender and receiver window size of 1.

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

  1. True.


  1. True.


  1. True.


  1. True.


0 0

Discussions

38102418300Fm

a) True. Suppose the sender has a window size of 3 and sends packets 1, 2, 3 at t0 . At
t1 (t1 > t0) the receiver ACKS 1, 2, 3. At t2 (t2 > t1) the sender times out and
resends 1, 2, 3. At t3 the receiver receives the duplicates and re-acknowledges 1, 2,
3. At t4 the sender receives the ACKs that the receiver sent at t1 and advances its
window to 4, 5, 6. At t5 the sender receives the ACKs 1, 2, 3 the receiver sent at t2 .
These ACKs are outside its window.
b) True. By essentially the same scenario as in (a).
c) True.
d) True. Note that with a window size of 1, SR, GBN, and the alternating bit protocol
are functionally equivalent. The window size of 1 precludes the possibility of out-oforder
packets (within the window). A cumulative ACK is just an ordinary ACK in
this situation, since it can only refer to the single packet within the window.

Powered by Lun

Dr siraj rathore said that: Bata Lun Phuy Chaur.

Post the discussion to improve the above solution.