git-svn-id: https://svn.code.sf.net/p/kolmck/code@106 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
This commit is contained in:
@ -597,7 +597,9 @@ end;
|
||||
|
||||
function TTCPClient.ReceiveLength: Integer;
|
||||
begin
|
||||
ioctlsocket(fhandle,FIONREAD,result);
|
||||
if fhandle<>SOCKET_ERROR then
|
||||
ioctlsocket(fhandle,FIONREAD,result)
|
||||
else result:=0;
|
||||
end;
|
||||
|
||||
function TTCPClient.Send(var Buf; const Count: Integer): Integer;
|
||||
|
Reference in New Issue
Block a user