1.UDP protocol
UDP is a connectionless transport layer protocol in the OSI Reference Model, which is mainly used for transport that does not require packet order arrival, and the packet transmission sequence is completed by the application layer [2], providing a simple and unreliable information delivery service for transactions. The UDP protocol is basically the interface between IP protocol and upper layer protocol. The UDP protocol applies to multiple applications where the port is running on the same device. UDP provides no-connection communication, and does not guarantee the reliability of transmitting packets, which is suitable for transmitting small amount of data at one time, and the reliability of UDP transmission is the responsibility of the application layer. Common UDP port numbers are: Application protocol port number DNS 53,tftp 69,SNMP 161
2.tcp and UDP comparison
OSI Model layer Fourth Transport Layer--UDP protocol