COMPUTER NETWORKING

TRANSPORT LAYER

USER DATAGRAM PROTOCOL UDP

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
When to use UDP?
A
When using Multicast or Broadcast to transfer
B
When you request a web page in your browser
C
When transfer data from a web server to a browser
D
When you are at a coffee shop
Explanation: 

Detailed explanation-1: -UDP must be used for broadcast or multicast applications. Any form of desired error control must be added to the clients and servers, but applications often use broadcasting or multicasting when some (assumed small) amount of error is acceptable (such as lost packets for audio or video).

Detailed explanation-2: -UDP is used as a transport protocol for multicast and broadcast because it is connectionless. You could use any connectionless transport protocol, but NAPT has limited the IPv4 Internet to TCP and UDP, but TCP is connection-oriented, so it will not work with multicast or broadcast.

Detailed explanation-3: -Multicast uses IP delivery method – User Datagram Protocol (UDP) as the protocol. The multicast transport relies on multicast-enabled routers to forward the packets to a client subnet where multiple client devices are listening. The multicast server sends a single stream, allowing multiple clients to listen in.

Detailed explanation-4: -UDP is commonly used in time-sensitive communications where occasionally dropping packets is better than waiting. Voice and video traffic are often sent using this protocol because they are both time-sensitive and designed to handle some level of loss.

There is 1 question to complete.