Skip to content

Open/Close vs Start/Shutdown #1180

Answered by nibanks
okbaswc asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by okbaswc
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