testing for Internet connection

Frank Leahy frank at backtalk.com
Sun Dec 19 10:24:58 EST 2004


On Dec 19, 2004, at 3:04 PM, use-revolution-request at lists.runrev.com 
wrote:

> From: Mark Brownell <gizmotron at earthlink.net>
> Subject: Re: testing for Internet connection
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <7C6FF9BA-5166-11D9-932A-000A95743F7A at earthlink.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Saturday, December 18, 2004, at 06:19 PM, Mark Brownell wrote:
>
>>> Variants of that seem to be the most commonly-used method, but the
>>> counter-argument that's been raised here is that there's no way to
>>> differentiate between a transaction that fails because of the lack of
>>> a connection and one caused by an error from the server -- is there?
>>>
>>> --
>>>  Richard Gaskin
>
> I reread your question.
>
> I have no idea if there is a way to confirm a connection ruling out for
> error.
>
> Oh well...
>
> Mark
>

You can pretty safely assume that something like www.yahoo.com is 
accessible if an internet connection is available.  So first check for 
www.yahoo.com and then check for your server.

-- Frank



More information about the use-livecode mailing list