blcksock.pas - modified error code returned by refused TCP HTTPTunnel.

git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@169 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2012-10-08 13:30:16 +00:00
parent b423f3d8d5
commit 77f6365bd3

View File

@ -3904,7 +3904,7 @@ begin
FHTTPTunnel := s[10] = '2';
until (s = '') or (s = #$0d);
if (FLasterror = 0) and not FHTTPTunnel then
FLastError := WSASYSNOTREADY;
FLastError := WSAECONNREFUSED;
FHTTPTunnelRemoteIP := IP;
FHTTPTunnelRemotePort := Port;
ExceptCheck;