mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-15 23:10:41 +01:00
parent
42804c935f
commit
ed2d21fd97
@ -906,7 +906,7 @@ begin
|
||||
{$else windowspipe}
|
||||
if Not fIsWinPipe then
|
||||
Result:=fpaccept(Socket,Nil,Nil);
|
||||
If FIsWinPipe or ((Result<0) and (socketerror=10038)) then
|
||||
If FIsWinPipe or ((Result<0) and ((socketerror=10038) or (socketerror = 10022))) then
|
||||
begin
|
||||
Result:=-1;
|
||||
B:=ConnectNamedPipe(Socket,Nil);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user