3 ms·
What are the obvious reasons? Many game devs would absolutely love to have UDP available on the web in order to do proper networking.
by plopz 7y ago
What are the obvious reasons? Many game devs would absolutely love to have UDP available on the web in order to do proper networking.
- Andrex 7y agoExtremely 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.