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.
Posted on 2003-06-12 13:40:27 by Paulicles the Philosopher
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.
Posted on 2003-06-12 21:30:40 by Paulicles the Philosopher