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
sendis the number of bytes it sent. If it fails it returnsSOCKET_ERRORand you useWSAGetLastErrorto get the error code, which is the codes listed in your link. Read the manual page forsendinstead.