-
I'm a little confused how best to cleanup on application exit. 1.) If my server wants to start a unidirectional stream, do I call "StreamOpen" followed immediately by "StreamStart"? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Have you seen our API docs? https://github.com/microsoft/msquic/blob/main/docs/API.md Generally, you can think of Close functions as |
Beta Was this translation helpful? Give feedback.
Have you seen our API docs? https://github.com/microsoft/msquic/blob/main/docs/API.md
Generally, you can think of Close functions as
free
calls on those objects, and therefore must be the last thing you call. Shutdown starts the clean up process, informing the peer of what's going on. As for Stream start, yes that must be called on every stream object after you open it.