Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2. Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all

image text in transcribed

Exercise 2. Suppose there are two hosts, S and R. They are communicating over a TCP connection, and R has already received from S all bytes from 1 through 233. Now, Host S then sends three segments to Host R back to back. The segments size are 50, 70, and 90 bytes respectively. In the first segment the source port number is 212 and the destination port number is 80. Host R sends an acknowledgement whenever it receives a segment from Host S (a) Give the sequence number, source port number, and destination port number for al the three seg ments. (b) If the segments arrive at R in given order 1, 2, 3, what is the acknowledgement number, the source port number, and the destination port number in the acknowledgment of the second arriving segment? (c) If the segments arrive at R n given order , 2, what s the acknowledgement number, the source port number, and the destination port number in the acknowledgment of the second arriving segment? (d) Lets suppose the three segments sent by S arrive in order at R. The first segments acknowledgment is lost and the second and third segments acknowledgments arrive 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 numbe

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

More Books

Students also viewed these Databases questions