You don't need to worry about the availability of a internet connection for a automatic update check. If the program can't contact the website, just fail silently. On the other hand if the user presses a "Check Now" button, they will want feedback as to if an update is available or not, and if the connection can't be established you should tell them.
Essentially, I'd just make a simple HTTPsocket sub-class with a boolean variable bShowWarnings or some such thing. If the user has explicitly requested an update check then you set it to true and return errors like "No Updates at this Time" or "Couldn't Connect to Server", otherwise there's no need to bother them. Hope that helps, ~ Tomis --- Josh Hague <[EMAIL PROTECTED]> wrote: > Hello, > > How do I check for an internet connection with RealBasic? > Network.IsConnected does not work because sometimes the computer WILL > have an IP address, but will not be connected to the internet. Such > as, a router which disperses IP addresses, but which is not connected > to the web. > > I tried to ping to test the web connection, but that would make it > look like the app is calling home without permission. Any suggestions? > > Basically, doing an update checker for my applications. The > application needs to check for updates on launch, but not check if > there is no internet connection or no internet connection from the > local router. > > Cheers, > Josh > > -- > Josh Hague > Web Guru > > Cell: 604-831-4891 > URL: http://www.JoshHague.com/ > E-Mail: [EMAIL PROTECTED] > _______________________________________________ > 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> > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ 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>
