Question: CNT4504 Chapter 3 Exercises 1 In this problem, we will compare the GBN, SR, and TCP protocols as approaches toward pipelined error recovery for reliable
CNT4504 Chapter 3 Exercises 1 In this problem, we will compare the GBN, SR, and TCP protocols as approaches toward pipelined error recovery for reliable data transfer. Consider the following scenario:
four packets must be sent from the client to the server, the second segment sent is lost in transit before all four are received successfully by the server,
all other segments sent, including retransmissions, are received and acknowledged successfully,
a connection is already established prior to sending the first packet,
the sequence number of the first packet is 1,
each packet contains a single byte of application data, and
there is no timer thus packets will not be resent due to a timeout event.
Using GBN: (3 pts) How many packets must the client send, and what are the sequence numbers?
(2 pts) How many acknowledgments are sent by the server, and what are the sequence numbers?
Using SR:
(3 pts) How many packets must the client send, and what are the sequence numbers? (2 pts) How many acknowledgments are sent by the server, and what are the sequence numbers?
Using TCP:
(3 pts) How many packets must the client send, and what are the sequence numbers? (2 pts) How many acknowledgments are sent by the server, and what are the sequence numbers?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
