Question: 7. [TCP] Host A and B are communicating over a TCP connection, and Host B has already received all bytes up through byte 126 from

7. [TCP] Host A and B are communicating over a TCP connection, and Host B has already received all bytes up through byte 126 from A. Suppose Host A then sends two new segments to Host B back-to-back. The 1st and 2nd segments contain 80 and 40 bytes of data, respectively. In the 1st segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an ACK whenever it receives a segment from Host A. a. In the second segment sent from Host A to B, what are the sequence number, source port number, and destination port number? (6 pts) b. If the first segment arrives before the second segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number, the source port number, and the destination port number? (8 pts) c. If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number? (8 pts) 8. [TCP] What is a 3-way handshake in TCP/IP? Why do we need a 3-way handshake, why not just use a 2-way handshake? (10 pts)

9. [TCP flow control] What is the TCP flow-control service and why is it important? (10 pts)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!