Welcome! Log In Create A New Profile

Advanced

Internetconnected()

Posted by Frans 
Frans
Internetconnected()
March 13, 2009 12:04PM
Hello to you all,

I want to check if there is a internetconnecting. Internetconnected() doesn't give a right answer. I think it only checks if there is a gateway.
Is there another way to check (within a few seconds) if there is a working connection?

Regards,
Frans
Paulo Oliveira
Re: Internetconnected()
March 13, 2009 12:07PM
try:
if not ping("www.google.com") then
error("error....")
....
END
Frans
Re: Internetconnected()
March 14, 2009 07:52PM
Hello Paulo.

Thank you. This works.

Regards Frans
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: