caniuse
caniuse copied to clipboard
udp: add feature
would be nice to have caniuse.com/udp
afaik, no mainstream browser has full UDP support (raw UDP support) only HTTP/3 (HTTP over QUIC) which is based on UDP
UDP is required for
- bittorrent: UDP trackers, DHT, uTP
- online games
UDP support is part of github.com/WICG/direct-sockets
alternatives
afaik, no mainstream browser has full UDP support (raw UDP support)
IPFS (bittorrent over TCP) is a workaround for this limitation, but IPFS is slow so the actual solution would be web browsers with full UDP support
IPFS docs on QUIC: docs.libp2p.io/concepts/transports/quic/
QUIC is a new transport protocol that provides an always-encrypted, stream-multiplexed connection built on top of UDP.
In addition to defining the QUIC transport, the IETF also standardized a new version of HTTP that runs on top of QUIC
related
-
WebSockets, UDP, and benchmarks
- It's likely arbitrary UDP connections will never be part of any web specification because of security concerns. The closest thing to what you're after will likely come as part of WebRTC and it's associated JSEP protocol.
- How to talk to UDP sockets with HTML5?
- chrome apps: chrome.sockets.udp
- https://github.com/webtorrent/webtorrent/issues/288