DHCP Client for Windows?


Is there any DHCP Client(stack, lib etc.) exists for Windows PC platform? If not is it possible/logical to implement it?

Thanks in advance
Windows already has a dhcp client built-in.

However, it is very easy to implement one, use raw sockets for this:

If you write your own it could be needed to stop the "Dhcp" windows service and restart your computer.
Hi again,

Built-in Windows DHCP Client requires Windows Server 200x as far as I know for some functions. That's not what I want.

Implementing it maybe a good idea but it's not that easy(at least for Windows) I suppose.

I couldn't see any examples on the web for Windows. However there are some of them for Linux.
Topic archived. No new replies allowed.