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

Suppose A sends three distinct TCP segments back-to- back to B from a single app

ID: 3712165 • Letter: S

Question

Suppose A sends three distinct TCP segments back-to- back to B from a single application write. The first
segment has sequence number 200; the second has sequence number 800; the third has sequence number
1400. The advertised window is 2000 (buffer space) and B has no data waiting to be processed.
a. How much data is in the first segment?
b. Suppose that the second segment is lost, but the first and third segments arrive at B. In the
acknowledgment that B sends to A for segment three, what will be the acknowledgment number B
sends?
c. Again assuming the second segment is lost, but the first and third segments arrive at B and the third
segment has 400 bytes. What is the advertised window when B ACKs the third packet.

Explanation / Answer

Solution:

a)

.the first segment has 599 bytes data (1400 is the first byte in the next segment, so bytes 199 to 800 is transmitted)

b)

the acknowledgement number from B will remain at 800 since it is expecting byte number 800 and receives an out of order packet

c)

The adverticed window size will be 1000

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote