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: "Carlos M" <rblists at rbtips dot com>
Date: Fri, 30 Sep 2005 19:25:58 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Importance: Normal
Aaron,

On Windows, what about the InternetGetConnectedState function of
wininet? It's not also accurate?
(MSDN: http://tinyurl.com/28kr )

Carlos

> Aaron Ballman:
>
> Because there's absolutely NO perfect solution for checking
> internet
> connectivity.  The operating system will let you know rudimentary
> information such as whether you're "connected" to a network
> (and they
> don't promise that it's 100% accurate either, I might add)
> or whether
> you've got a dial-up connection.  That's it.  Nothing more.
>
> And I disagree, web browsers do not check whether they're
> connected to
> the internet.  They do tricks just like we do (using the
> same OS APIs I
> would hazard to guess) to see whether there might be a path to the
> internet.  But I've never once seen a browser tell me "you're not
> connected to the internet" when I'm strictly on a LAN with
> no internet
> access.  They check whether a dial-up will be forced, if not they
> attempt to connect, and they timeout.




_______________________________________________
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>