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:
parent
b423f3d8d5
commit
77f6365bd3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user