check if there is an internet connection
Posted: August 6th, 2022, 5:53 pm
Hi folks,
I´m using 7.7.2 in a DE program,.
When issuing a command like
if syncconnect(CSWeb, servidor) = 1 then
...
else
errmsg();
endif;
Before executing the else part of the if when there is no internet connection, the system shoots a standard message like "there is no connection... Unable to resolve host etc". Then, after that, it shoots my errmsg.
Is there a way to check if there is an internet conectivity before issuing the synconnect command?
Best
Ari
I´m using 7.7.2 in a DE program,.
When issuing a command like
if syncconnect(CSWeb, servidor) = 1 then
...
else
errmsg();
endif;
Before executing the else part of the if when there is no internet connection, the system shoots a standard message like "there is no connection... Unable to resolve host etc". Then, after that, it shoots my errmsg.
Is there a way to check if there is an internet conectivity before issuing the synconnect command?
Best
Ari