Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultServerPort = 67 DefaultClientPort = 68 )
Default ports
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ReadTimeout time.Duration WriteTimeout time.Duration LocalAddr net.Addr RemoteAddr net.Addr IgnoreErrors bool // contains filtered or unexported fields }
Client implements an asynchronous DHCPv4 client It doesn't use the broadcast socket! Which means it should be used only when the network is already established. https://github.com/insomniacslk/dhcp/issues/143
Click to show internal directories.
Click to hide internal directories.