Question :
In a Sliding Window Protocol, assume that the senders and receivers window sizes are 3 packets each and a total of 6 packets are sent numbered 1-6.
Draw time line diagrams corresponding to each of the following situations:
(a) TCP protocol is used and ack 3 is lost, but ack 4 is received before pkt 2 times out
(b) SR protocol is used and pkt 4 is lost, but ack 5 and ack 6 are received before pkt 4 times out. Show details of the senders and receivers windows at relevant instants.