From 77f6365bd3a6c0c90cee81dccae25db7ffd5bd9c Mon Sep 17 00:00:00 2001 From: geby Date: Mon, 8 Oct 2012 13:30:16 +0000 Subject: [PATCH] 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 --- blcksock.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blcksock.pas b/blcksock.pas index 075ae6f..ca1b679 100644 --- a/blcksock.pas +++ b/blcksock.pas @@ -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;