Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Moving packets from one machine to another cannot be done with only host name

ID: 3844570 • Letter: 1

Question

1. Moving packets from one machine to another cannot be done with only host names, it must be done with addresses. Describe the high-level/conceptual process for resolving a hostname to an IP address in Java (hint: this can be done with a single method call). Describe, in your own words, why it is not possible to move packets without resolving the addresses of the involved hosts (even if the resolution is handled implicitly by, for example, an object's constructor).

2.

Which statements describe the user datagram protocol (UDP)? *can be more than 1 answer*

Question 14 options:

Commonly used for application protocols, like media streaming, which can tolerate dropped packets

Utilizes a three-way handshake for the initial connection setup

It is described as an "unreliable" protocol

The receiver does not confirm receipt of packets to the sender

Uses window scaling to control the number of packets which are sent before a confirmation of receipt is required

a.

Commonly used for application protocols, like media streaming, which can tolerate dropped packets

b.

Utilizes a three-way handshake for the initial connection setup

c.

It is described as an "unreliable" protocol

d.

The receiver does not confirm receipt of packets to the sender

e.

Uses window scaling to control the number of packets which are sent before a confirmation of receipt is required

Explanation / Answer

1)

routing the UDP packet from source to destination is not possible with out the IP Addresses. It is not possible to keep the information of all hostnames in the routing table for routing purposes and hence difficult to route the packet to destination. It is easy to organize the IP adresses and re route the packets based on the matched destination IP address portion.