UDP is a simpler, connectionless Internet protocol. Multiple messages are sent as packets in chunks using UDP.
TCP uses sequence numbers for tracking the receipt of the packets at the destination. UDP is more like a telegram, and any packets that does not arrive at the destination can not be determined. This function has to be done by the application layer (or higher level protocols). Hence, it (UDP) is also known as connectionless protocol.
Udp is suitable for applications that need fast, efficient transmission, such as games. UDP's stateless nature is also useful for servers that answer small queries from a large numbers of clients.UDP Header size is 8 bytes.
UDP does error checking but simply discards erroneous packets. Error recovery is not attempted. No Acknowledgment, No handshake (connectionless protocol)
The frame for UDP is as given below:
UDP frame fields: Total 8 bytes long.
2. Source port
3. Destination port
4. Check Sum