In the book on networking "Computer Networking: A Top Down Approach" by James Kurose following is stated: "...sender in ... uses only a single timer, which can be thought of as a timer for the oldest transmitted but not yet acknowledged packet. If an ACK is received but there are still additional transmitted but not yet acknowledged packets, the timer is restarted."
- If in a GB3 protocol with sequence numbers 0,1,2,3. Suppose packets 0,1,2 are sent by the sender and a timer is started according to oldest transmitted but not yet acknowledged packet no-0.
- The receiver receives all packets in order.
- The receiver (with a window size of 1) sends ack 0,1,2 one at a time.
- Suppose ack 0 is received at the sender.
- Now according to above excerpt from the book, the timer has to be restarted according to packet no-1, which is transmitted but not yet acknowledged.
My Question: How does the sender restart the timer with respect to packet-1 when it has already been sent in the past keeping in view a single timer in GBN protocol?