in Computer Networks
1,661 views
0 votes
0 votes
Two hosts A and B are communicating with each other using TCP. Assume the sequence number field starts at 0 and the receiver employs cumulative ack. A has successfully sent 465 bytes of data which were also acked by B. Suppose A were now to send 3 segments of size 100, 40 and 60 each. What sequence number will the third segment carry?

Suppose the second segment was received before the first and third segment, what will the ack value be in the ack generated as a consequence of receiving this second segment?
in Computer Networks
1.7k views

4 Comments

edited by
A beginning with seq no. 0,-consumed in SYN and sent 465B data so now the sequence no. will be 466 as earlier ------  465B was 1 to 465

2nd seq will have 566

3rd seq no will be 606?

==
Out of order packets are allowed
but ack will be still asking for 1st packet so 1 here but as we won't be having 3 duplicate ack, so retransmission will be done after TOT
0
0
edited by
1 for SYN flag

1 to  465 --> packet is sent with SEQ=1

466 to 466+99=565 packet is sent with seq=466

566 to 566+39  is sent with 566 seq number
0
0

@Hemanth_13 yes 1 for SYN

did you get the other part?

0
0
I think it should still give the seq number of first packet i.e. 1 ACK will be sent excepting seq number 1
1
1

Please log in or register to answer this question.