rflINETisConnected
Test if the system is physically connected to the net. This function is asynchronous
and the response is done by a call to a reflex.
Prototype :
fun [S fun [S u0 I] u1 u0] I
- S : any url, at your choice
- fun [S u0 I] u1 : the reflex. Supplemental argument is the response : 1 if
connected, else 0
- u0 : an user parameter, at your convenience
Return : I 0 or nil if error
Error :
- EOK if no error.
- EARGNIL if the url is nil.
- EARG if the callback is nil.
- ECROBJ if the internal object could not be created.
- ETHREAD if the thread creation falis.
- EVM if a memory error occurs. The VM will exit and more informations
could be found in the log file (if activated in the debug mode level).
- EPLATFORM if the current platform is not supported yet.
See also :
INETisConnected
Example :
Note :
This function is loaded on MS Windows system only !