The Gateway to Computer Science Excellence
0 votes
159 views

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.

  1. How much data is in the first segment?
  1. 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?
in Computer Networks by Boss (10.5k points) | 159 views

1 Answer

+1 vote
Best answer
The sequence number of the first Byte of first segment  = 90 and The sequence number of the first Byte of second segment  = 110

which implies, The sequence number of the last Byte of first segment  = 109.

(A) Therefore number of Bytes in the segment is (109-90+1 = 20)


(B) Ack number will be 90. since the first segment is lost
by Junior (657 points)
selected by
0
Hey! How you wrote $109$?
+1
First Byte of 2nd segment sequence number is 110. so the previous byte which will be the last byte of Ist segment will be (110-1 = 109).
0
Thanks

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,497 answers
195,490 comments
100,815 users