dhcp client
ipartner opened this issue · 3 comments
ipartner commented
Hi.
There is a way to create a dhcp client with this library?
michaelharo commented
yes - Line 151 of packet.go says "// Creates a request packet that a Client would send to a server."
d2g commented
I've been working on a client package (https://github.com/d2g/dhcp4client) which adds some wrappers to the functionality provided by this package.
ipartner commented
Nice, I will look at it.
Edit:
Sadly looks like depends on golang.org/x/sys/unix which have a bug in 1.4
golang/go#10854
hoping the bug gets fixed. meanwile i had to move all the arm64 and ppc files outside the directory to the lib to be compiled.