View Source VintageNet.Connectivity.InternetChecker (vintage_net v0.12.0)
This GenServer monitors a network interface for Internet connectivity
Internet connectivity is determined by reachability to an IP address. If that address is reachable then other this updates a property to reflect that. Otherwise, the network interface is assumed to merely have LAN connectivity if it's up.