85.2k views
1 vote
Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first segment has sequence number 90; the second has sequence number 110.

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 acknowledgment that Host B sends to Host A, what will be the acknowledgment number?

User Hhut
by
5.8k points

1 Answer

6 votes

Answer:

(a) 20 bytes

(b)90

Step-by-step explanation:

a. 20 bytes.

110-90= 20 Bytes

Bytes From 90-109 are in the first segment.

b. 90.

TCP uses cumulative acknowledgments, so even if it buffers the second segment, the acknowledgment is still for the first segment.

User Sesser
by
5.8k points