Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | Gate IT 2007 | Question 14

  • Difficulty Level : Basic
  • Last Updated : 28 Jun, 2021

Consider a TCP connection in a state where there are no outstanding ACKs. The sender sends two segments back to back. The sequence numbers of the first and second segments are 230 and 290 respectively. The first segment was lost, but the second segment was received correctly by the receiver. Let X be the amount of data carried in the first segment (in bytes), and Y be the ACK number sent by the receiver.
The values of X and Y (in that order) are
(A) 60 and 290
(B) 230 and 291
(C) 60 and 231
(D) 60 and 230

Answer: (D)

Explanation: data in 1st segment is from byte number 230 to byte number 289, that is 60 bytes
As 1st is lost so, TCP will send ACK for the next in-order segment receiver is expecting. So it will be for 230.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!