Home > Common Problem > body text

What are the applicable scenarios for UDP?

coldplay.xixi
Release: 2020-06-29 09:10:17
Original
11639 people have browsed it

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!

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