* Fix for bug ID #29144

git-svn-id: trunk@32731 -
This commit is contained in:
michael 2015-12-26 17:16:31 +00:00
parent 42804c935f
commit ed2d21fd97

View File

@ -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);