WSASend - SOCKET_ERROR ??
Hi Friends,
with WSASend function,
sometimes i get SOCKET_ERROR (with WSAGetLastError)
and error codes as follows, (with some explanation is given at msdn)
WSAECONNABORTED
The virtual circuit was terminated due to a time-out or other failure.
WSAECONNRESET
The virtual circuit was reset by the remote side.
but i'm not getting the reason why this happens and how to solve this.
thanks in anticipation
regards,
|