Question
Jan Villaroel
Topic: Computer Science Posted 1 year ago
Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first segment has sequence number 400 and the second has sequence number 100

Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first segment has sequence number 400 and the second has sequence number 1000.

a. How much data is in the first segment?
b. Suppose that the first segment is lost but the second segment arrives at B. In the acknowledgement that Host B sends back to Host A, what will be the acknowledgement number?


Answers
What are best answers and total votes?
No Votes
Vote
SignIn to Vote
Koala Tutor
Sep 21, 2023
Koala Ai Support

a. In order to determine the amount of data in the first segment, we subtract the sequence number of the first segment (400) from the sequence number of the second segment (1000).

1000 - 400 = 600

Therefore, the first segment contains 600 units of data.

b. If the first segment is lost but the second segment arrives at Host B, the acknowledgement number that Host B sends back to Host A will be 401.

This is because the acknowledgement number is the next expected sequence number. Since the first segment was lost, the next expected sequence number would be the sequence number of the first segment + 1.

400 + 1 = 401

Therefore, the acknowledgement number will be 401.

Koala Tutor Got a question with my answer?
Message Me