Home >Common Problem >What are the applicable scenarios for UDP?

What are the applicable scenarios for UDP?

coldplay.xixi
coldplay.xixiOriginal
2020-06-28 13:34:0411664browse

UDP is applicable to scenarios that emphasize output performance rather than completeness, such as audio and multimedia applications.

What are the applicable scenarios for UDP?

UDP applicable scenarios:

The UDP protocol is sent directly and does not determine whether to receive or send. Success, application scenario: When output performance is emphasized rather than completeness, such as audio and multimedia applications.

UDP communication protocol

  • No connection;

  • UDP uses best effort delivery, no To ensure reliability, UDP is packet-oriented. UDP neither merges nor splits the packets delivered by the application layer, but retains the boundaries of the packets;

  • Application No matter how long the message is handed to UDP by the layer, UDP will still send it, that is, send one message at a time;

  • UDP has no congestion control;

  • UDP supports one-to-one, one-to-many, many-to-one and many-to-many interactive communication.

  • UDP header overhead is small, only 8 bytes.

    Related learning recommendations: PHP Programming from beginner to master

The above is the detailed content of What are the applicable scenarios for 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