* close socket if not accepted. Patch from Mantis 12675 by S. Meyer.

git-svn-id: trunk@13128 -
This commit is contained in:
marco 2009-05-10 16:08:46 +00:00
parent b77bff2996
commit 828afdf74c

View File

@ -346,6 +346,11 @@ begin
Stream:=SockToStream(NewSocket);
DoConnect(Stream);
end
else
begin
CloseSocket(NewSocket);
NewSocket:=-1;
end;
end
except
On E : ESocketError do