Explain why a TCP connection over an Ethernet segment never runs into problems with fragmentation.
What will be an ideal response?
TCP uses three-way handshaking when two peers make a connection. In this packet
exchange, each host can send its MSS (Maximum Segment Size) which implicitly indicates the
MTU of each interface. By this method, each host can adjust its MSS size and fragmentation can be avoided. If there is a router between two peers which has smaller size of MTU than one of each peer, the router needs to fragment a datagram. In this case, TCP can set DF bit in all IP datagram and if there is any router which needs to fragment a datagram, ICMP error message can be delivered to the source host and the MSS is adjusted to avoid these problems.
You might also like to view...
Case 2-2 You and Ellen are cramming for your exam about the second phase of the program development life cycle, the design of the user interface. As you recount the design principles to Ellen during your study session, which of the following is NOT one that you share with her?
A. If the user interface is too simple to use, the user will not trust that it is sufficiently robust. B. Use of the interface should feel natural and normal. C. A good user interface provides the most appropriate object for each requirement. D. The objects in the interface must be arranged in the sequence in which they are used so that the user can move from item to item on the screen in a logical, straightforward manner.
What is the exact output of the following code?
``` double area = 3.5; System.out.print("area"); System.out.print(area); ``` a. 3.53.5 b. 3.5 3.5 c. area3.5 d. area 3.5