realbasic-nug
[Top] [All Lists]

Re: Connected To Internet?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Connected To Internet?
From: jis <jis at cuci dot nl>
Date: Fri, 30 Sep 2005 23:40:05 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BF60A6B8 dot 6B92%mauitom at maui dot net> <0f3b6717ccffdd19b873e26dd8070823 at pp dot inet dot fi> <6916EFDA-014D-4A5B-B62D-F03691D2E836 at innernine dot com> <433D42D9 dot 9030704 at realsoftware dot com> <3DDDACA2-7E2E-4886-A7FD-EF22B22C529B at cuci dot nl> <433D4A29 dot 7090200 at realsoftware dot com> <p06230900bf63493e363c at [10 dot 0 dot 1 dot 8]>
Joe, thanks for the education. I understand the problems better now. On the other hand, there are *extremely clever people* on this list........

At the moment I use in my app:

if System.Network.IsConnected and NetworkAvailableMBS ("www.nisnews.nl") then
       main.Canvas6.Visible = false
       return true
    else
       main.Canvas6.Visible = true  // show "no connection" warning
       return false
    end if

Regards
Johan Simons

On 30/09/2005, at 10:23 PM, Joe Huber wrote:

Primarily because the idea of being "connected to the Internet" is an invalid concept. Internet connectivity is not all or nothing, it can't be represented by a Boolean...
...
...
... In any case, as Aaron already said, this isn't a simple question and so it isn't possible to give a simple answer.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>