Home > other >  UDP packet loss, the packet loss and the consequences of what?
UDP packet loss, the packet loss and the consequences of what?

Time:10-09

Haven't understand there is a problem, that is, since UDP packet will be dropped, the program if you can't complete to send and receive data, the normal operation of this program also how? Send and receive messages are not all ah,

I want to understand is the UDP packet loss, will also have to send this package? Or lost is lost? If the latter, the white that this program is not running yet,

The small white sincerely ask,

CodePudding user response:

Can use TCP, the important information is not important to use UDP
UDP is mainly used on live, live require low latency, UDP is satisfied, if the UDP packet loss, is stuck

CodePudding user response:

Agree with the upstairs said,

CodePudding user response:

reference 1st floor ipqtjmqj response:
can use TCP, the important information is not important to use UDP
UDP is mainly used in live, live require low latency, UDP is satisfied, if the UDP packet loss, is stuck


Thank you admire, that is, to live transmission aren't these important application to use UDP, and what kind of example,
Thank you!

CodePudding user response:

reference Seek_Joy reply: 3/f
Quote: refer to 1st floor ipqtjmqj response:

Can use TCP, the important information is not important to use UDP
UDP is mainly used in live, live require low latency, UDP is satisfied, if the UDP packet loss, is stuck


Thank you admire, that is, to live transmission aren't these important application to use UDP, and what kind of example,
Thank you,

Your online search "UDP applications"

CodePudding user response:

TCP are used for file transfer (FTP, HTTP on data accuracy requirement is high, can be relatively slow), send or receive mail (POP, IMAP, SMTP for data accuracy requirement is high, the application of emergency), remote login (TELNET SSH requirements for data accuracy to a certain extent, the concept of connection), etc. UDP is commonly used in instant messaging (QQ chat on data accuracy and packet loss is lower, but must be fast), online video (RTSP speed must be fast, guarantee continuous video, but occasionally spent an image frames, people still can accept), VoIP phone (VoIP voice packet is compared commonly small, need high speed sends, occasionally staccato or crosstalk and no problem), and so on,

As an extension of the knowledge, can say some other applications, such as, TCP can be used for network database, the distributed high precision calculation system of data transmission; UDP can be used for data transmission between internal service system, because the data may be more, internal system packet loss in a network fault package rate is very low, even if the lost package, at most is invalid operation, in this case, the UDP is often used,

CodePudding user response:

Examples of upstairs very image!

CodePudding user response:

According to the actual need to choose transport protocol, if not so strict with packet loss, and to care about the speed, you can select UDP
  • Related