mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:09:17 +02:00
* Actually use introduced cross-platform constant...
git-svn-id: trunk@39540 -
This commit is contained in:
parent
4e94570ca3
commit
e13f069b17
@ -1125,7 +1125,7 @@ begin
|
|||||||
{$IFDEF HAVENONBLOCKING}
|
{$IFDEF HAVENONBLOCKING}
|
||||||
if (ConnectTimeOut>0) then
|
if (ConnectTimeOut>0) then
|
||||||
begin
|
begin
|
||||||
if IsError and (Err=ESysEINPROGRESS) then
|
if IsError and (Err=ErrWouldBlock) then
|
||||||
begin
|
begin
|
||||||
TimeOutResult:=CheckSocketConnectTimeout(Handle, @FDS, @TimeV);
|
TimeOutResult:=CheckSocketConnectTimeout(Handle, @FDS, @TimeV);
|
||||||
IsError:=(TimeOutResult<>ctrOK);
|
IsError:=(TimeOutResult<>ctrOK);
|
||||||
|
Loading…
Reference in New Issue
Block a user