Package wol
implements a Wake-on-LAN client. MIT Licensed.
This package exposes two types, which operate slightly differently:
Client
: WoL client which uses UDP sockets to send magic packetsRawClient
WoL client which uses raw Ethernet sockets to send magic packets
For most use cases, the Client
type will be sufficient. The RawClient
type
requires elevated privileges (root user) and works on Linux or *BSD/macOS only.