View Source VintageNet.Connectivity.InternetChecker (vintage_net v0.13.3)

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.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Start the connectivity checker GenServer

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(VintageNet.ifname()) :: GenServer.on_start()

Start the connectivity checker GenServer