I am writing a network-based program that needs to discover DHCP servers if existing on the same network segment. Specifically, i need to broadcast the "DHCP Discover" message so that my program knows if there is some server through "DHCP Offer" response message. i researched about this topic, and found some thread that indicates this to be impossible in Windows. However, i wish to know your thoughts about the issue . The language to be used is C++, C#, or Java.
i appreciate your help.