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';
|
FHTTPTunnel := s[10] = '2';
|
||||||
until (s = '') or (s = #$0d);
|
until (s = '') or (s = #$0d);
|
||||||
if (FLasterror = 0) and not FHTTPTunnel then
|
if (FLasterror = 0) and not FHTTPTunnel then
|
||||||
FLastError := WSASYSNOTREADY;
|
FLastError := WSAECONNREFUSED;
|
||||||
FHTTPTunnelRemoteIP := IP;
|
FHTTPTunnelRemoteIP := IP;
|
||||||
FHTTPTunnelRemotePort := Port;
|
FHTTPTunnelRemotePort := Port;
|
||||||
ExceptCheck;
|
ExceptCheck;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user