VintageNet.Connectivity.InternetChecker (vintage_net v0.11.3) View Source
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.