Question
Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all bytes up
Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all bytes up through byte 172. Now, Host S then sends three segments to Host R one after the other. The segments size are 80, 60, and 40 bytes respectively. In the first segment, the source port number is 310 and the destination port number is 112. Host R sends an acknowledgement whenever it receives a segment from Host S.
1)Give the sequence number, source port number, and destination port number for all the three segment?
2)If the segments arrive at R in given order {1, 2, 3}, in the acknowledgment of the second arriving segment, what is the acknowledgement number, the source port number, and the destination port number?
3)If the segments arrive at R in given order {1, 3, 2}, in the acknowledgment of the second arriving segment, what is the acknowledgement number, the source port number, and the destination port number?
4)Lets suppose the three segments sent by S arrive in order at R. The second seg-ments acknowledgment is lost and the third segments acknowledgment arrives after the timeout interval. Draw a timing diagram, showing these segments and all other segments and acknowledgments sent. Assume there is no additional packet loss. For each segment in your figure, provide the sequence number and the number of bytes of data; for each acknowledgement that you add, provide the acknowledgment number.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started