View Source VintageNet.Connectivity.LANChecker (vintage_net v0.12.2)
This GenServer monitors a network interface for LAN connectivity
Currently LAN connectivity simply looks to see if it's possible to send a packet on the interface. It might or might not get to the desired destination on the LAN, but it won't obviously fail.
This is an alternative to the InternetConnectivityChecker that actively monitors reachability to a host.