Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am confused for the question below, please assist to explain how it works. (eg

ID: 3762707 • Letter: I

Question

I am confused for the question below, please assist to explain how it works. (eg. Sender sent which Seq.No, or maybe Sender sent 1000 3 times hence Receiver ack and ask for the next which is 2000?)
Thanks

Suppose a TCP sender transmits four TCP segments with respective sequence numbers (Seq. No.) 1000, 2000, 3000, and 4000. The sender receives four acknowledgements with the following numbers (Ack. No.) 2000, 2000, 2000, and 5000. Complete Figure Q4(b) to show the sequence of TCP segments that are exchanged between sender and receiver.

Explanation / Answer

THE RECEIVER ALWAYS MAINTAINS THE LIST OF SEQUENCE NUMBERS. ONCE IT IS RECEIVED IT MAKE MARK THAT IT HAS RECEIVED THE PACKET, IF 3 TIME GOT THE DUPLICATE PACKET IMMEDIATELY SENDS NAK IE NEGATIVE ACKNOWLEDGE MENT SO THAT SENDER IDENTIFIES THE INCONVIENCE OF THE RECEIVER AND SENDS THE ORIGINAL PACKED AS SHOWN IN THE ABOVE FIGURE