Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Chttp / Connectremote() / fail.. randomly Date: Mon, 4 Oct 2021 13:43:39 +0200 Lines: 34 Message-ID: References: <424783b6-3e9d-4d44-a756-a6683e33e500n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: individual.net cgDl6cctxtev5bM/Tw/2gwYDNLaAPWJdqa9LOjQHwrTlAgxO8= Cancel-Lock: sha1:rhP3YOR2NdhVD7iQfa00bXo5H5M= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:13445 Hi Phil, the VO cHTTP class is based on WinInet - this is practically the communication layer of the Internet Explorer. It could be that now that Internet Explorer is being dismissed also the WinInet library has some not fixed problems. Wolfgang Phil McGuinness wrote: > Based VO cHTTP class issue solved with a move to winHTTP > I call this code and a lot of it via a VO app running as service for > like 15 years. No reliable now and random. > The service has to be stopped and started and wait for the random > inability to ConnectRemote() > > interesting a Socket call prior to same port etc... works. > The cHTTP connect fails. > > Phil McGuinness > ---- > > > oHttp := CHttp{"Secure_Rates", INTERNET_DEFAULT_HTTPS_PORT } > > oHttp:Timeout := 6000 // Syntax like this not part of class > > // > > IF oHttp:ConnectRemote( WEBSERVER_2016 ) // "27.50.65.xxx" > > // Do stuff --