main logo
Subject: Re: How To Know If an Internet Connection is Active
Author: Andy Davies
Posted: 2006/06/30 08:01:33
 
View Entire Thread
New Search


>For an experiment try the code I posted (hop count)
>Jack Skelley

No, doesn't pass the firewall

- but interestingly xmlhttp does:-
* btw can't remember if this has been posted before or not
** get [dynamic] ip address &c.

oHttp = createobject("Microsoft.XmlHttp")
cURL = "http://www.hawthorn-cottage.com/iptryDOM.asp"
oHttp.Open("POST", cURL, .F.) && Synchronous
oHttp.Send("")
oX = oHttp.responseXML
?oX.getElementsByTagName('txt').item(0).text && REMOTE = you
?oX.getElementsByTagName('txt').item(1).text && LOCAL = web server
?oX.getElementsByTagName('txt').item(2).text && = web server name
?ohttp.abort
CLOSE ALL
RELEASE ALL


Andrew Davies  MBCS CITP
  - AndyD        8-)#
PC Development Officer
Housing IT
Housing Services
Manchester City Council
(at) Hawthorn Cottage
( Office     +44 161 234 5330
( Internal   [814] 5330
( Mobile 0775 938 5155 (when all else fails)
* a D.OT davies@manchester.gov.uk
* home andy (at) hawthorn-cottage D.OT com


**********************************************************************

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.

**********************************************************************




 
©2006 Andy Davies
<-- Prior Message New Search Next Message -->