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

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.

Summary

Functions

Returns a specification to start this module under a supervisor.

Start the connectivity checker GenServer

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