Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is there any API to get connected to DHCP.

Is there any API to get connected to DHCP.

Scheduled Pinned Locked Moved C / C++ / MFC
c++jsontutorialannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    an89
    wrote on last edited by
    #1

    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++.

    T M 2 Replies Last reply
    0
    • A an89

      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++.

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      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" - Mixture

      cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

      1 Reply Last reply
      0
      • A an89

        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++.

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        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:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups