Home > Common Problem > body text

What protocol is udp?

青灯夜游
Release: 2023-01-13 00:33:40
Original
30876 people have browsed it

udp is the User Data Packet Protocol, a connectionless transport layer protocol in the OSI reference model, which provides simple and unreliable transaction-oriented information transmission services. UDP is used to support network applications that need to transmit data between computers; many client/server model network applications, including network video conferencing systems, require the use of the UDP protocol.

What protocol is udp?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

The Internet's transport layer has two main protocols that complement each other. Connectionless is UDP, which does little in particular except give applications the ability to send packets and allow them to architect their own protocols at the required level. The connection-oriented one is TCP, which does almost everything.

UDP is the abbreviation of User Datagram Protocol. The Chinese name is User Datagram Protocol. It is a connectionless transport layer protocol in the OSI (Open System Interconnection) reference model that provides transaction-oriented Simple unreliable messaging service, IETF RFC 768 is the official specification for UDP. The protocol number of UDP in IP packets is 17.

The UDP protocol is used to process data packets like the TCP protocol. In the OSI model, both are located at the transport layer, which is the upper layer of the IP protocol. UDP has the disadvantage of not providing data packet grouping, assembly, and inability to sort data packets. That is to say, after a message is sent, it is impossible to know whether it has arrived safely and completely. UDP is used to support network applications that need to transmit data between computers. Numerous client/server network applications, including network video conferencing systems, require the use of UDP protocol. The UDP protocol has been used for many years since its inception. Although its initial glory has been overshadowed by some similar protocols, UDP is still a very practical and feasible network transport layer protocol even today.

Many applications only support UDP, such as multimedia data streams, which do not generate any additional data and will not retransmit even if damaged packets are known. When transmission performance is emphasized rather than transmission integrity, such as audio and multimedia applications, UDP is the best choice. UDP is also a good choice when the data transmission time is so short that the previous connection process becomes the main body of the entire traffic.

Content:

UDP is a connectionless transport layer protocol in the OSI reference model. It is mainly used for transmission that does not require the sequential arrival of packets. Packet transmission Sequential checking and sorting are completed by the application layer [4], providing simple and unreliable transaction-oriented information transmission services. The UDP protocol is basically the interface between the IP protocol and the upper layer protocol. The UDP protocol is suitable for multiple applications running on the same device.

UDP provides connectionless communication and does not guarantee the reliability of transmitted data packets. It is suitable for transmitting a small amount of data at a time. The reliability of UDP transmission is responsible for the application layer. Commonly used UDP port numbers are: 53 (DNS), 69 (TFTP), and 161 (SNMP). UDP protocols include: TFTP, SNMP, NFS, DNS, and BOOTP.

UDP messages do not have reliability guarantee, sequence guarantee, flow control field, etc., and their reliability is poor. However, because the UDP protocol has fewer control options, it has small delay during data transmission and high data transmission efficiency. It is suitable for applications that do not require high reliability, or applications that can guarantee reliability, such as DNS, TFTP, and SNMP. wait.

Function:

In order to identify multiple destination addresses on a given host, allowing multiple applications to work on the same host and independently Send and receive data packets and design the User Datagram Protocol UDP.

UDP uses the underlying Internet protocol to transmit messages, and like IP provides unreliable connectionless packet transmission services. It does not provide functions such as packet arrival confirmation, sorting, and flow control.

UDP Helper can realize the relay and forwarding of broadcast messages of the specified UDP port, that is, convert the broadcast messages of the specified UDP port into unicast messages and send them to the specified server, playing the role of relay.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What protocol is udp?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template