Hacker News new | ask | show | jobs
by Wofiel 3245 days ago
Anyone interested in this might find some enlightenment in Glenn Fiddler's whitepaper. [1] It talks about the issues with TCP-based connections, WebSockets, QUIC, WebRTC and provides a solution (with code) to doing UDP in browser.

[1] https://gafferongames.com/post/why_cant_i_send_udp_packets_f...

1 comments

Update: there is now a full browser-based implementation of netcode.io too! https://github.com/RedpointGames/netcode.io-browser