Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

i. Give the sequence number, source port number, and destination port number for all the three segment?

ii. 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?

iii. 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?

iv. Lets suppose the three segments sent by S arrive in order at R. The second segments 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

Develop successful mentoring programs. page 400

Answered: 1 week ago