How to identify a specific STREAM on the peer side? #4258
Answered
by
nibanks
chemsallioua
asked this question in
Q&A
-
I am making a Server and a Client based on MSQUIC. The Client opens a connection, the Server opens 6 unidirectional STREAMs and one bidirectional STREAM. Now on the Client side, how can I identify which STREAM is the bidirectional one? What about identifying each of them? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
nibanks
Apr 24, 2024
Replies: 1 comment 5 replies
-
The QUIC_STREAM_OPEN_FLAGS Flags; This tells you if it's bidirectional or unidirectional: typedef enum QUIC_STREAM_OPEN_FLAGS {
QUIC_STREAM_OPEN_FLAG_NONE = 0x0000,
QUIC_STREAM_OPEN_FLAG_UNIDIRECTIONAL = 0x0001, // Indicates the stream is unidirectional.
QUIC_STREAM_OPEN_FLAG_0_RTT = 0x0002, // The stream was opened via a 0-RTT packet.
QUIC_STREAM_OPEN_FLAG_DELAY_ID_FC_UPDATES = 0x0004, // Indicates stream ID flow control limit updates for the
// connection should be delayed to StreamClose.
} QUIC_STREAM_OPEN_FLAGS; |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correct. If you want something your own, then you'll need to send it as payload.