Host A and B are communicating over a TCP connection. Host B has already received from Host A all bytes up through byte 23. Suppose Host A then sends two segments to Host B back-to-back. The first and the second segments contain 30 and 50 bytes of data, respectively. In the first segment, the sequence number is 24, the source port number is 3000, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment from Host A.
In the second segment sent from Host A to B, what are
the sequence number _________,
source port number _________,
and destination port number ____________?
If the second segment arrives after the first segment, in the acknowledgment of the second segment, what are
the acknowledgment number __________,
the source port number ____________,
and the destination port number ____________?
If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment,
what is the acknowledgment number ___________?
Suppose the two segments sent by A arrive in order at B. The first acknowledgment arrives after the first timeout interval.
A will transmit the next segment with what sequence number ____________?
Note: fill in integer numbers only in the blanks.