INETisConnected
Test if the system is physically connected to the net
Prototype :
fun [S] I
- S : any url, at your choice
Return : I 1 if connected, 0 if not or nil if error
Error :
- EOK if no error.
- EARGNIL if the url is nil.
- ESYSOS if the operating system can not initialize the connection.
- ECONN if there is no Internet connection or all possible conenctions are inactive.
- ENET if the connection to the given url fails.
- EPLATFORM if the current platform is not supported yet.
See also :
rflINETisConnected
Example :
fun main ()=
_showconsole;
_fooId INETisConnected "http://www.fsf.org/";
0;;
Note :
This function is loaded on MS Windows system only !