Question

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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

S - R is Tcp connection. It is connection oriented network and reliable connection in proper order sender will send data to destination. Sequence number will change but sestination and source ports won't change from S to R because it is connection oriented ans reliable.

It had already sent 1 through 233 bytes nothing but 1 to 233 sequence numbers. Again S sends three segments to R so

1st Segment

Sequence number = 234 ( previous it is 233 )

Source port = 212

Destination port =80

2nd segment

Sequence number = 234+50 = 284 ( segment size is 50 bytes last byte in segment 1 is 234+50-1 =283)

Source port number =212

Destination port number = 80

3rd segment

Sequence number = 284 + 70 = 354 ( segment size is 70 bytes and 2 nd segment last byte is 284+70-1= 353)

Source port number =212

Destination port number =80

Add a comment
Know the answer?
Add Answer to:
Exercise 2. Suppose there are two hosts, S and R. They are communicating over a TCP...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hosts A and B are communicating over a TCP connection, and Host B has already received from A all...

    Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1029. Suppose Host A then sends three segments to Host B back-to-back. The first, second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source port number is 8080, and the destination port number is 80. Host B sends an acknowledgment whenever...

  • Answer the following question based on this assumption: 7: Host A and B are communicating over...

    Answer the following question based on this assumption: 7: Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host...

  • Host A and B are communicating over a TCP connection, and Host B has already received...

    Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment...

  • Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2:...

    Assignment 4 - Problem Set Homework . Due in 15 hours 3/21 answered Close Question 2: Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1059. Suppose Host A then sends three segments to Host B back-to- back. The first second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source...

  • TCP headers and segmentation (B) 10. Which of the following flelds in the UDP header Is...

    TCP headers and segmentation (B) 10. Which of the following flelds in the UDP header Is NOT found in the TCP header? source port destination port checksum length 11. The value of the acknowledgement field in a TCP segment defines Number of bytes to retransmit Number of bytes to receive Starting point of next bytes to receive in sequence Total number of bytes left 12. Suppose Host A sends one segment with sequence number 38 and 4 bytes of data...

  • . Consider a TCP connection between Host A and Host B. Suppose that the TCP segments...

    . Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number 37 and destination port number 61. What are the source and destination port numbers for the segments traveling from Host B to Host A? 
 . Suppose a process in Host C has a UDP socket with port number 6789. Sup- pose both Host A and Host B each send a UDP segment to...

  • suppose host A sends two TCP segments back to host B over a TCP connection. the...

    suppose host A sends two TCP segments back to host B over a TCP connection. the first segment has sequence number 30; the second has sequence number 50. how much data is in the first segment? suppose that the first segment is lost but the second segment is lost but the second segment arrives at B. in the acknowledgment that host B sends to host A, what will be the acknowledgment number? (5 marks) in TCP/IP

  • 14. (10 Points) Suppose Proces A running on Host Process B running on Host Y vi running on Host Z is communicating with Process via a TCP connection. Let x, y, and z be the IP addresses o and Hos...

    14. (10 Points) Suppose Proces A running on Host Process B running on Host Y vi running on Host Z is communicating with Process via a TCP connection. Let x, y, and z be the IP addresses o and Host Z, respectively. Assume the port number o the port number of Process B is 464 26145, and the port number of Process D is 80. a. What are the identifiers of the socket associated with Process B when it is...

  • Consider a Host X sending three segments of 100 bytes of data each to Host Y...

    Consider a Host X sending three segments of 100 bytes of data each to Host Y over a TCP connection. Assume Host Y has no data to send to X. Suppose the sequence number is initially S = 90 and the acknowledgement number is initially A = 160. If the first segment is lost, show the exchange of all three segments between X and Y to achieve reliable data transfer. Draw the bounce diagram.

  • Networking problem help Consider the following TCP session between hosts A and host B on a...

    Networking problem help Consider the following TCP session between hosts A and host B on a perfect channel: A has a file of size 2.5MSS to send to B. A desires to send segments of alternating sizes MSS and MSS/2 (sequence number = 0 for the first segment of size MSS). B also has a file of size 2.5MSS to send to A. B desires to send segments of alternating sizes MSS/2 and MSS (sequence number = 0 for the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT