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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to get

how to get

Scheduled Pinned Locked Moved C / C++ / MFC
questionsysadmintutorial
4 Posts 2 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.
  • V Offline
    V Offline
    vc programmer 0
    wrote on last edited by
    #1

    how to get list of ip address in my entire network. i want to know list of all ip address of my entire network. how can i get?? pls explain me.. some sample and refrence.pls give me..

    D 1 Reply Last reply
    0
    • V vc programmer 0

      how to get list of ip address in my entire network. i want to know list of all ip address of my entire network. how can i get?? pls explain me.. some sample and refrence.pls give me..

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Are you referring to NetServerEnum(), or the WNetOpenEnum()/WNetEnumResource() pair? Once you have the name of the resource, simply call gethostbyname() to get its IP address.


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      V 1 Reply Last reply
      0
      • D David Crow

        Are you referring to NetServerEnum(), or the WNetOpenEnum()/WNetEnumResource() pair? Once you have the name of the resource, simply call gethostbyname() to get its IP address.


        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        V Offline
        V Offline
        vc programmer 0
        wrote on last edited by
        #3

        can i get both computer and input device(com port). now i get only computer ip address. i want to get com port ip address.

        D 1 Reply Last reply
        0
        • V vc programmer 0

          can i get both computer and input device(com port). now i get only computer ip address. i want to get com port ip address.

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          vc-programmer- wrote: i want to get com port ip address. I was not aware that COM ports had IP addresses.


          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          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