Follow these steps:
NOTE: For better understanding we have not used the sequence number for representing frames instead we have taken the running serial number i.e., 1,2,3,4,5,6....
1. Firstly, select the first four frames to be sent to the receiver, i.e., 1,2,3,4, and now wait to receive the acknowledgment of the 1st packet.
2. After ACK 1 received, select the next frame to be sent i.e., 5th and the window will slide having four frames, i.e., 2, 3, 4, 5.
3. After ACK 2 received, select the next frame to be sent i.e., 6th and the window will slide having four frames, i.e., 3, 4, 5, 6.
4. Retransmit all the frames of the current window i.e., 3, 4, 5, 6 because packet 3 lost.
5. After ACK 3,4,5,6 received, select the next four frames to be sent.
6. ACK 7 lost, so retransmit all the frames of the current window i.e., 7, 8, 9, 10.
7. ACK 7, 8, 9, 10 received, ALL FRAMES SENT!
8. Input the correct total number of frames transmitted and click the Submit button.
9. Select other window size to perform simulation.