Checking Internet connection on Vista
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Fri Jun 20 08:35:30 EDT 2008
Bonjour à tous,
On Win, I am used to run the following handler to know if the user is
connected to the Internet:
function InternetConnected
local tAddress
-----
put hostNameToAddress(<domain name>) into tAddress
return tAddress <> empty
end InternetConnected
When the user is not connected and using XP, this function return
false immediately. So far so good.
But with Vista, it's another story: it works well if the user is
connected but Rev hangs during a long time before returning false if
he is not.
Any hints to check reliably and quickly Internet connection with
Vista would be much appreciated.
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list