-
I'm digging into 'interop.cpp' example code to learn how to use. I've run the binary with 'quicinterop.exe -target:msquic' options, but never succeeded. After some investigations, I figured out that MsQuic->ConnectionStart function in 'ConnectToServer' returns quic status, PENDING. Now, what am I supposed to do to proceed? why does it give PENDING status? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Generally, the MsQuic API returns PENDING to indicate that the action isn't completely done yet. As far as debugging why things aren't working for you, I'd recommend two things:
|
Beta Was this translation helpful? Give feedback.
Generally, the MsQuic API returns PENDING to indicate that the action isn't completely done yet.
ConnectionStart
just queues the work to the QUIC worker thread and then returns PENDING. From there, the worker will resolve DNS as necessary and then start the QUIC handshake. Eventually you would get a connected or shutdown event to know if the connection succeeded or not.As far as debugging why things aren't working for you, I'd recommend two things: