简体   繁体   中英

Packet loss test with javascript

Is there a way to check packet loss from client side with javascipt by using ajax, xmlHttpRequest or other method? Thank you very much for your help.

HTTP is based on TCP which guarantees delivery of data. Server and client should be aware of an issue that would cause some data to be missed. The TCP layer would retransmit the data as needed until it is complete.

Packet loss and out of order delivery are not uncommon on the internet since there is no rule that says routers must forward all packets but TCP automatically corrects for those issues.

unfortunatley there is nothing you can do about it using javascript .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM