Author: Jack Skelley
Posted: 2006-06-29 at 09:51:18
Andy:
Probably some form of ICMP request in this API...
For an experiment try the code I posted (hop count) which returns the number of hops to a destination and see if it
passes your firewall. I think it is similar to tracert but returns the hops to the destination.
I know our firewall can be set up to disregard any ICMP requests.
Regards,
Jack Skelley
Andy Davies wrote:
> Declare Integer InternetCheckConnection in Wininet.dll String Url, Long
> Flags, Long Reserved
> lnResult = InternetCheckConnection("http://leafe.com/",1,0)
> ?IIF(lnResult = 0,'NOT connected', 'Connected') && NOT connected
> * Doesn't work through [our] firewall
> * neither does:
> !ping leafe.com
> * wonder if it uses ping under the hood?
>
> Andrew Davies MBCS CITP
> - AndyD 8-)#
>
>
> **********************************************************************
>
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
>
> This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.
>
> Please contact internet.administrators@manchester.gov.uk with any queries.
>
> **********************************************************************
>
>
>
[excessive quoting removed by server]