NetworkMonitorIF.getNetworkAvailable

Checks if the network is available. "Available" here means that the system has a default route available for at least one of IPv4 or IPv6. It does not necessarily imply that the public Internet is reachable. See #GNetworkMonitor:network-available for more details.

interface NetworkMonitorIF
bool
getNetworkAvailable
()

Return Value

Type: bool

whether the network is available

Meta

Since

2.32