edited by
676 views
2 votes
2 votes

1st seq number is 1093,
2ns seq is 1094,
... 1460th seq number will be 2552. So the ack number sent by the reciever will be 2552+1=2553.

Is this right?

Answer in solution given is 2554.

edited by

2 Answers

0 votes
0 votes
Answer is Next sequence number will be 2554. Because, receiver has received 2553 Bytes of data. Now it will request for the next byte i.e. 2554. So it will send 2554 as acknowledgement number.
0 votes
0 votes

I'll use following abbreviations :

ISN (initial sequence number)

SN (sequence number)

AN (acknowledgement number )

Solution :

ISN of sender = 1093 

ISN of Receiver = 391

To establish connection one sequence number for each of them would have been eaten up,  therefore 

next SN to be used for sender = 1094 and for receiver = 392

Now sender will send 1460 Bytes of data  with SN=1094 and AN = 392

Receiver will acknowledge the pkt with SN=392 and AN = 1094+1460 = 2554

Hence ack number sent by Receiver will be 2554.

Related questions

1 votes
1 votes
2 answers
1
Kai asked Dec 6, 2016
589 views
Can someone explain what this question means?
1 votes
1 votes
3 answers
2
Kai asked Dec 6, 2016
634 views
Doesn't TCP use both?
2 votes
2 votes
3 answers
3
1 votes
1 votes
1 answer
4