What means a result of 0x000000be in send command:
iResult = send( ConnectSocket, dataToSend, (int) strlen(dataToSend), 0 );
I didn't found this return code here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx
Any ideas?
Thx
The value returned by send
is the number of bytes it sent. If it fails it returns SOCKET_ERROR
and you use WSAGetLastError
to get the error code, which is the codes listed in your link. Read the manual page for send
instead.
User contributions licensed under CC BY-SA 3.0