COMPUTER NETWORKING

APPLICATION LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Suppose you wanted to do a transaction from a remote client to a server as fast as possible. Would you use UDP or TCP? Why? (Choose all that apply)
A
UDP:Less Overhead
B
TCP:as fast as UDP bout guaranteed
C
UDP:If no confirmation is required
D
TCP:If confirmation is required
Explanation: 

Detailed explanation-1: -You would use UDP. With UDP, the transaction can be completed in one roundtrip time (RTT)-the client sends the transaction request into a UDP socket, and the server sends the reply back to the client’s UDP socket.

Detailed explanation-2: -The process on a host is identified by a port number. A port number is a number between 0 and 65536 assigned to the running process by the operating system. A host on the Internet can run more than one network application. Each application on one host is assigned a unique port number for identification.

Detailed explanation-3: -Answer: Yes, an organization can have the same alias name for both its Web server and its mail server.

Detailed explanation-4: -Why? Web caching can bring the desired content “closer” to the user, perhaps to the same LAN to which the user’s host is connected. Web caching can reduce the delay for all objects, even objects that are not cached, since caching reduces the traffic on links.

There is 1 question to complete.