Why does WSARecv return WSAEFAULT? I am calling it after GetQueuedCompletionStatus(...) returns after a call from AcceptEx(...).
I have set the flags to 0 and lpCompletionRoutine to NULL. I think the callback might cause the problem but it shouldn't be required since I am using a completion port.
I have set the flags to 0 and lpCompletionRoutine to NULL. I think the callback might cause the problem but it shouldn't be required since I am using a completion port.
I fixed it, but now I get WSAENOTCONN. I am calling after GetQueuedCompletionStatus() for AcceptEx(...). Why would it not be connected?
The concept of completion ports doesn't seem complicate, but debugging it is like an onion: the more layers you go through, the more it stinks.
The concept of completion ports doesn't seem complicate, but debugging it is like an onion: the more layers you go through, the more it stinks.