Correct 2 bugs connected to asynchronous shutdown():
- Cannot call WSAGetOverlappedResult() because completion function
destroys the overlapped structure.
- ws2_async_cleanup() called twice in case of failure.
Showing
Please
register
or
sign in
to comment