facebook / mvfst

An implementation of the QUIC transport protocol.
MIT License
1.5k stars 244 forks source link

Can a single client connection use reliable and unreliable packets? #310

Closed HaseebLUMS closed 1 year ago

HaseebLUMS commented 1 year ago

A datagram mode in the provided sample client and server will make all the communication happen using unreliable datagrams. I wonder whether I can have a single client connection that can sometimes send reliable stream and sometimes unreliable datagrams. If yes, is there any example I can refer to?

According to RFC 9221, such a QUIC connections should be possible.

HaseebLUMS commented 1 year ago

I figured it out, it was pretty simple.