>Hi!
>
>What's the fastest way of checking if there is a working internet connection, when a customers connection is down my routines that read info from a webpage take ages to time out. The customers thinks the software has "hung"
>
>Thanks in advance
#define FLAG_ICC_FORCE_CONNECTION 0x01
DECLARE INTEGER InternetCheckConnection IN Wininet.dll STRING lpszUrlSTRING, INTEGER dwFlags, INTEGER dwReserved
myFastLoadedSite = "http://www.google.com"
IF InternetCheckConnection(myFastLoadedSite,FLAG_ICC_FORCE_CONNECTION,0) == 0
RETURN []
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.