Answer the question
In order to leave comments, you need to log in
Why does the send (winsock2) method return SOCKET_ERROR and the error code is 0?
res := Send(FSocketNative, FBufferPartOut.Data[0], FBufferPartOut.Header.Size, 0);
if res = -1 then begin
WSAError := WSAGetLastError;
res := GetLastError;
end;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question