Module server

Source
Expand description

Used to send/receive Messages to/from a DHCP client.

Structsยง

Config
Representation of a toe-beans.toml file. Used by the Server.
LeaseTime
The time, in seconds, before a lease expires. A lower value will increase dhcp traffic between client and server. A higher value will increase the chances that all ip addresses are assigned.
Leases
Used to manage the dynamic collection of IP addresses that the server leases.
Server
Ties together a Config, Socket, and Leases in order to handle incoming Client Messages, and construct server-specific response Messages.