Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Header: #include <applibs/networking.h>
Verifies whether the network interface is up, connected to an access point, has an IP address, and the time is synced. It does not check whether there is actual internet connectivity.
int Networking_IsNetworkingReady(bool * outIsNetworkingReady);
Parameters
outIsNetworkingReadyA pointer to a Boolean that returns the result. This value is set to true if networking is ready, otherwise false.
Errors
Returns -1 if an error is encountered and sets errno to the error value.
- EFAULT: the provided
outIsNetworkingReadyparameter is NULL.
Any other errno may also be specified; such errors aren't deterministic and the same behavior might not be retained through system updates.
Return value
Returns 0 for success, -1 for failure, in which case errno is set to the error value.