Skip to content

Support for unrealiable delivery of WebTransport datagrams #5001

Answered by darrachequesne
CoryG89 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

With the current support for WebTransport is it possible to configure socket.io to only use unreliable delivery with datagrams beneath the hood

It is not currently possible to use datagrams, as we rely on a bidirectional stream: https://github.com/socketio/engine.io-client/blob/218c3443f6059de43e916e9add09e9f96d529644/lib/transports/webtransport.ts#L43

Also, if socket.io can use unreliable delivery through WebTransport, then I assume this would also mean that in such a case socket.io would no longer be guaranteeing the order in which messages are received. Is this correct?

True. In that case, the order and the actual transmission of the messages would no longer be guaranteed.

Refe…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CoryG89
Comment options

@darrachequesne
Comment options

@CoryG89
Comment options

Answer selected by CoryG89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants