Question

In: Computer Science

SR protocol,

Answer true or false se to the following questions and briefly justify your answer:
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.

Solutions

Expert Solution

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-of-order 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.


Related Solutions

GBN and SR protocols
Consider the GBN and SR protocols. Suppose the sequence number space is of size k. What is the largest allowable sender window that will avoid the occurrence of problems such as that in Figure 3.27 for each of these protocols? 
Explain the sliding window flow protocol and discuss the advantages of this protocol.
Explain the sliding window flow protocol and discuss the advantages of this protocol.
1)How many moles of Sr are there in 93.2 grams of Sr? 2)How many grams of...
1)How many moles of Sr are there in 93.2 grams of Sr? 2)How many grams of Ag are there in 0.692 moles of Ag? 3)How many grams of Ga are there in a sample of Ga that contains the same number of moles as a 39.1 gram sample of Mg? grams of Ga
Thomas, Sr. owned a $1,000,000 life insurance policy on his life. Thomas, Sr. transferred the policy...
Thomas, Sr. owned a $1,000,000 life insurance policy on his life. Thomas, Sr. transferred the policy to Thomas, Jr. in 2017 when the cash surrender value was $100,000. In 2018, Thomas, Jr. named his son Thomas III as beneficiary. When Thomas, Sr. died in 2019, his grandson, Thomas III collected $1,000,000. Which of the following is correct? Thomas, Jr. made a $1,000,000 gift to Thomas III. The value of the life insurance policy will not be included in Thomas, Sr.'s...
UDP for a transport protocol
We have said that an application may choose UDP for a transport protocol because UDP offers finer application control (than TCP) of what data is sent in a segment and when.a. Why does an application have more control of what data is sent in a segment?b. Why does an application have more control on when the segment is sent? 
Describe the services of the IP protocol, and potentially ICMP protocol, with respect to flow control...
Describe the services of the IP protocol, and potentially ICMP protocol, with respect to flow control (ensuring the sender does not overwhelm the receiver).
What are the advantages of protocol layering? Explain any problems with protocol layering. Compare and contrast...
What are the advantages of protocol layering? Explain any problems with protocol layering. Compare and contrast the meanings of interface and protocol.
1) Define the following concepts: computer network, network architecture, protocol, and multilayer protocol. 2) As an...
1) Define the following concepts: computer network, network architecture, protocol, and multilayer protocol. 2) As an IT professional who works in the networked world describe the professional, social, economic, and cultural issues of computer networks. 3) As an IT professional who works in the networked world describe the ethical issues and your social responsibility.
Topic: DCS What is the difference between DCS Network Communication Protocol and Field Communication Protocol?
Topic: DCS What is the difference between DCS Network Communication Protocol and Field Communication Protocol?
Construct a quantum protocol that produces equally likely binary strings of length six. (A quantum protocol...
Construct a quantum protocol that produces equally likely binary strings of length six. (A quantum protocol is a classical algorithm which uses at least one quantum computation. For example, an algorithm which uses Shor’s algorithm to factor a natural number as part of an attack to decrypt a code.)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT