# Transport logs (a) sequence numbers For example, suppose there is a TCP connection between two hosts

Transport logs

(a) sequence numbers

For example, suppose there is a TCP connection between two hosts A and B. Host B has already received all bytes from byte A to byte 248. Host A now sends two segments to B in succession . Host B sends each time he a segment of Host A receives an acknowledgment ( Acknowledgment ). The first segment contains 40 bytes of data and has the sequence number 249. The second segment contains 60 bytes of data.

Answer the following questions: What is the sequence number in the second segment? If the first segment arrives before the second segment, what is the acknowledgment number in the acknowledgment of the first incoming segment? If the second segment arrives before the first segment, what is the acknowledgment number when confirming the first segment arrived?

(b) Flow-time diagram

Assuming the situation (a), assume that the two segments sent by A arrive at B in the correct order , the first acknowledgment is lost, and the second acknowledgment arrives after the first timeout interval.

Draw a flow-time diagram that shows these segments and all subsequent segments and acknowledgments that are being transmitted. Suppose that there is no additional packet loss. Label each packet from A to B with its sequence number and number of bytes of data, and any acknowledgment from B to A with its acknowledgment number. In addition, mark the timeout interval on the timeline.

NEED HELP WITH SUCH A TASK? WE HAVE THE BEST TUTORS FOR YOU. ORDER NOW FROM 10\$/PG 