TRANSPORT LAYER
USER DATAGRAM PROTOCOL UDP
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Process to Process Communication
|
|
Host to host communication
|
|
both
|
|
None of the above
|
Detailed explanation-1: -UDP provides a process to process communication. Port numbers are appended in the header of the packet to enable this. There is no handshaking required before sending a message; hence, UDP is referred to as a connection-less protocol.
Detailed explanation-2: -TRANSMISSION CONTROL PROTOCOL(TCP) oTCP, like UDP, is a process-to-process (program-to-program) protocol uses port numbers. oUnlike UDP, TCP is a connection oriented protocol; it creates a virtual connection between two TCPs to send data. oTCP uses flow and error control mechanisms at the transport level.
Detailed explanation-3: -To use UDP, you must use the %New()Opens in a new tab method to create a UDP socket object. This object instance is then used to send, receive, and reply to packet transmissions. Both the port number and the host address are optional.