Re:WebTransport is almost here to allow UDP-like exchange in...
by mort96 on Monday November 17, 2025 @02:12PM
(#45956915)
The thing is, I very rarely (or arguably never) have a use case which requires that one client has multiple connections to the same server. The thing I want is almost always to have a bidirectional stream of messages where messages arrive in order. Essentially a simple message envelope protocol on top of TCP.
Re:WebTransport is almost here to allow UDP-like exchange in...
by kixelated on Monday November 17, 2025 @03:16PM
(#45957782)
For sure, if you want an ordered/reliable stream then WebSocket is ideal. WebTransport is useful when you also want prioritization and semi-reliable networking, similar in concept to WebRTC data channels.
It's common to multiplex a WebSocket connection but you don't need that with WebTransport, while also avoiding head-of-line-blocking.
But yeah I wish WebTransport had a better TCP fallback. I still use WebSocket for that.