3 ms·
Extremely good information and background context is available in this article: https://gafferongames.com/post/why_cant_i_send_udp_packets_from_a_browser/ https
by Andrex 7y ago
Extremely good information and background context is available in this article: https://gafferongames.com/post/why_cant_i_send_udp_packets_from_a_browser/ https://gafferongames.com/post/why_cant_i_send_udp_packets_f...
The big issue is trying to make UDP "safe" enough security-wise for the web platform, and such considerations are generally taken extremely seriously. If a vulnerability were discovered, the Google Chrome userbase could become a botnet capable of DDOS pummeling any website.
Workarounds apparently exist for UDP over WebRTC, but it's a very "bulky" solution.