Question: . Suppose Client A initiates a Telnet session with Server S. At about the same time, Client B also initiates a Telnet session with Server
-
. 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
-
The segments sent from A to S.
-
The segments sent from B to S.
-
The segments sent from S to A.
-
The segments sent from S to B.
-
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?
-
How about if they are the same host?
-
-
. UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8-bit bytes: 00100011, 01001110, 01010100. What is the 1s 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 1s 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
Get step-by-step solutions from verified subject matter experts
