Is there any API to get connected to DHCP.
-
I have to enable DHCP using win32API i.e. I have to get connected to it,then obtain IP address and then get release from DHCP.does anyone know how to accomplish this in vc++.
please see, if this is of any help :- http://www.codeproject.com/info/search.aspx?artkw=DHCP+&sbo=kw[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
-
I have to enable DHCP using win32API i.e. I have to get connected to it,then obtain IP address and then get release from DHCP.does anyone know how to accomplish this in vc++.
The DHCP API[^] may help. The IP Helper API[^] has some functions that use DHCP You can always use the protocol[^] directly through sockets. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: