UDP stands for User Datagram Protocol and it is one of the basic protocols of the Internet. This is a message-oriented protocol. This means that a sender sends a message to the receiver, just like with the TCP protocol. However, the difference with TCP is that with UDP the receiver does not send an confirmation to the sender. UDP can be compared to sending an email where you do not know whether the message will arrive and be read.
The advantage of UDP is that it is faster than TCP. It’s faster, because no confirmation is sent, so there is no two-way traffic. However, UDP also has drawbacks. Because no confirmation is sent at UPD, it is less reliable in sending data than, for example, TCP.
This means that UDP is mainly suitable for one-way communication, where the loss of some data is not a problem. UDP is therefore mainly used when speed is more important than a 100% error-free connection. The UDP protocol is mainly used for live streaming and VOIP (voice over ip).