DECLAREINTEGER InetIsOffline IN url INTEGER dwFlags
IF InetIsOffline(0) = 0?"The local system is connected to the Internet."ELSE?"The local system is not currently connected to the Internet."ENDIF
This function allways return true, even when you disconnect the Cable. Why, anybody can help ? Is there any other substitue for this function ?
A.M. | 2006-01-09 09:10:59
Ping a well-known site or two to find whether you are connected to the Internet. There are several Ping examples in this reference. Search "how to ping".
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.