please need help with this question
Compare the GBN, SR, and TCP protocols as approaches toward pipelined error recovery for reliable data transfer. Consider three packets are sent from a client to the server with sequence numbers 1, 2, and 3. Also, a connection is established prior to sending the first packet and there are no timers.
If the first packet arrives successfully, what is the sequence number in the corresponding acknowledgment sent by the server if using:
GBN?
SR?
TCP?
Now consider the second packet is lost in transit to the server, but the third is received successfully. What is the sqeuence number in the corresponding acknowledgment sent by the server if using:
GBN?
SR?
TCP?