Send returns SOCKET_ERROR but GetLastError() returns 0 ?
I have a problem where I am using the CAsyncSocket function Send and it returns SOCKET_ERROR and I check the GetLastError ( I actualy check all of the following: CAsyncSocket::GetSockOpt(SO_ERROR..., CAsyncSocket::GetLastError(), WSAGetLastError(), and Generic MFC ::GetLastError() ) and it is zero. For this case I currently just try and resend the message, but this just results in an infinite loop. How am I supposed to handle the case where Send says I have an error, but all possible GetLastError calls say there is no error (without just dropping the current message)?
Thanks,
Harry

