Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

9:0 ASSIGNMENT CH3.pdf Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B

image text in transcribed

9:0 ASSIGNMENT CH3.pdf 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. Suppose both Host A and Host B each send a UDP segment to Host C with destination port number 6789. Will both of these segments be directed to the same socket at Host C? If so, how will the process at Host C know that these two segments originated from two different hosts? Is it possible for an application to enjoy reliable data transfer even when the application runs over UDP? If so, how? Suppose that a Web server runs in Host Con port 80. Suppose this Web server uses persistent connections, and is currently receiving requests from two different Hosts, A and B. Are all of the requests being sent through the same socket at Host C? If they are being passed through different sockets, do both of the sockets have port 80? Discuss and explain. Suppose Client A initiates a Telnet session with Server S. At about the same time, Client B also initiates a Telnet session with Server S. Provide possible source and destination port numbers for a. The segments sent from A to S. b. The segments sent from B to S. The segments sent from S to A. d. The segments sent from Sto B. e. If A and B are different hosts,is it possible that the source port number in the segments from A to S is the same as that from B to S? f. How about if they are the same host? UDP and TCP use is complement for their checksums. Suppose you have the following three 8-bit bytes: 00100011, 01001110, 01010100. What is the Is complement of the sum of these 8-bit bytes? (Note that although UDP and TCP use 16-bit words in computing the checksum, for this problem you are being asked to consider 8-bit sums.) Show all work. Why is it that UDP takes the Is complement of the sum; that is, why not just use the sum? With the 1s complement scheme, how does the receiver detect errors? 9:0 ASSIGNMENT CH3.pdf 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. Suppose both Host A and Host B each send a UDP segment to Host C with destination port number 6789. Will both of these segments be directed to the same socket at Host C? If so, how will the process at Host C know that these two segments originated from two different hosts? Is it possible for an application to enjoy reliable data transfer even when the application runs over UDP? If so, how? Suppose that a Web server runs in Host Con port 80. Suppose this Web server uses persistent connections, and is currently receiving requests from two different Hosts, A and B. Are all of the requests being sent through the same socket at Host C? If they are being passed through different sockets, do both of the sockets have port 80? Discuss and explain. Suppose Client A initiates a Telnet session with Server S. At about the same time, Client B also initiates a Telnet session with Server S. Provide possible source and destination port numbers for a. The segments sent from A to S. b. The segments sent from B to S. The segments sent from S to A. d. The segments sent from Sto B. e. If A and B are different hosts,is it possible that the source port number in the segments from A to S is the same as that from B to S? f. How about if they are the same host? UDP and TCP use is complement for their checksums. Suppose you have the following three 8-bit bytes: 00100011, 01001110, 01010100. What is the Is complement of the sum of these 8-bit bytes? (Note that although UDP and TCP use 16-bit words in computing the checksum, for this problem you are being asked to consider 8-bit sums.) Show all work. Why is it that UDP takes the Is complement of the sum; that is, why not just use the sum? With the 1s complement scheme, how does the receiver detect errors

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

Students also viewed these Databases questions

Question

Identify and control your anxieties

Answered: 1 week ago

Question

Understanding and Addressing Anxiety

Answered: 1 week ago