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

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.

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