5 ms·
> Why can't I send UDP packets from a browser? My tweet from May 2015 is titled "I've sent my first UDP packet from a browser!" [1] [1] https://twitter.com/sh
by shurcooL 10y ago
> Why can't I send UDP packets from a browser?
My tweet from May 2015 is titled "I've sent my first UDP packet from a browser!" [1]
[1] https://twitter.com/shurcooL/status/605218976969261056 https://twitter.com/shurcooL/status/605218976969261056
- djsumdog 10y agoLooks like Firefox? Did you write a browser extension?
- philo23 10y agoIt's from Firefox OS: https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/API/UDPSocket https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/API/...
- shurcooL 10y agoNo, it was an experimental implementation of https://www.w3.org/TR/tcp-udp-sockets/ https://www.w3.org/TR/tcp-udp-sockets/ actually. Regular Firefox browser, not Firefox OS.
- shurcooL 10y agoYes, it was Firefox. I did not write any extensions, I simply turned on an experimental flag for the TCP and UDP Socket API. [1] [1] https://www.w3.org/TR/tcp-udp-sockets/ https://www.w3.org/TR/tcp-udp-sockets/