Easiest way is to check if you can connect to a known site (e.g. Google).

if the length of "Xttp://www.google.com" > 0 then
-- we're connected
else
-- we're not connected
end if

(Change Xttp to http)


"Nicholas Nginya" wrote

> I am doing a cyber cafe billing system but how do i check for an internet 
> connection.



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to