Home  >  Article  >  What are the characteristics of udp

What are the characteristics of udp

藏色散人
藏色散人Original
2020-06-29 09:08:5934304browse

The characteristics of udp are: 1. UDP is connectionless, that is, there is no need to establish a connection before sending data; 2. UDP uses best-effort delivery, that is, reliable delivery is not guaranteed; 3. UDP is message-oriented 4. UDP supports one-to-one, one-to-many, many-to-one and many-to-many interactive communications.

What are the characteristics of udp

The main features of UDP

  • UDP is connectionless, that is There is no need to establish a connection before sending data (there is no connection to release when sending data ends), reducing overhead and delay before sending data.

  • UDP uses best-effort delivery, that is, no To ensure reliable delivery, the host does not need to maintain a complex connection state table

  • UDP is message-oriented. The sender's UDP will add a header to the message handed over by the application. Deliver the IP layer downwards. UDP neither merges nor splits the packets handed over by the application layer, but retains the boundaries of these packets

  • UDP does not have congestion control, and the congestion that occurs in the network will not Reduce the sending rate of the source host. This is important for some real-time applications

  • UDP supports one-to-one, one-to-many, many-to-one and many-to-many interactive communications

  • UDP’s header has a small overhead, only 8 bytes, which is shorter than TCP’s 20-byte header

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

Statement:
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