Module client

Module client 

Source
Expand description

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

Structs§

Arguments
A DHCPv4 client
Client
Logic for a DHCP client using this lib.
ClientConfig
Configuration that can be passed in via the command line or programmatically to a Client

Enums§

Commands
All subcommands

Constants§

CLIENT_PORT
The standard port for dhcpv4 clients defined in the RFC.
RESOLVED_CLIENT_PORT
Resolves to TEST_PORT for debug builds and PORT for release builds
TEST_CLIENT_PORT
This is an arbitrary port number above 1024 that can be used when testing the client. Port numbers below 1024 are privileged ports that require admin access to bind to. See: https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html