[DUG] Testing internet web site connections
Jeremy Coulter
jscoulter at gmail.com
Wed Oct 12 22:20:53 NZDT 2016
JB, make sure you are using the latest Open SSL DLLs as the earlier ones
had security vulnerabilities.
Jeremy
On Wed, Oct 12, 2016 at 9:30 PM, John Bird <johnkbird at paradise.net.nz>
wrote:
> I have been considering writing something to monitor connectivity to a few
> web sites- note not detecting whether there is an internet connection, but
> whether a number of sites are responding. Some http and some https.
>
> (Have got tired of opening a CMD prompt and pinging sites)
>
> I have experimented with this in Indy for Delphi 2007 and testing a http
> site seems simple. https is a little more involved – has to have the
> right OpenSSL DLLs in the program’s folder, libeay32.dll and ssleay32.dll
> and I am not sure which is the right versions for D2007 to get from
> https://indy.fulgan.com/SSL/ - for instance D2007 is 32 bit but windows
> is 64bit, and which version for which Delphi – there are new versions from
> V0.9.8r to v1.0.2j. So far just getting “could not load SSL library” and
> “error creating SSL context”
>
> Indy seems quite ideal, being asynchronous, doesn’t matter if it takes a
> while.
>
> I could instead do Indy in Delphi Berlin, or use the non-Indy native
> internet connectivity in Berlin but haven’t found useful sample code as a
> guide for that.
>
> Any recommendations out there of best tools to use/point me to simple
> sample code. Happy just to get as far as a 200 returned or 404 etc.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20161012/9b510e26/attachment.html
More information about the Delphi
mailing list