Compare GBN (go back N), SR (Selective Repeat), and TCP (no delayed ACK).
Assume that the timeout values for all three protocols are sufficiently long such that 6 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 6 data segments to Host B numbered 1,2,3,4,5, and 6, and the 3nd segment (sent from A) is lost. In the end, all 6 data segments have been correctly received by Host B.
1) How many segments has Host A sent in total and how many ACKs has Host B sent in total? What are their sequence numbers? Answer this question for all three protocols.
Draw the flow diagram showing this scenario for each protocol.
Rq: the length of data is 1.