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. How can I get the other IP adress in my local netwok?

How can I get the other IP adress in my local netwok?

Scheduled Pinned Locked Moved C / C++ / MFC
questionsysadmin
5 Posts 5 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.
  • H Offline
    H Offline
    Hellin
    wrote on last edited by
    #1

    Hi , how can i get the IP adresses and machine names of other computers in my local network ? I come from china ,so my english is very poor ? Thank you very much ! :)

    D A D 3 Replies Last reply
    0
    • H Hellin

      Hi , how can i get the IP adresses and machine names of other computers in my local network ? I come from china ,so my english is very poor ? Thank you very much ! :)

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

      Look for WNetOpenEnum() and WNetEnumResource().


      Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

      1 Reply Last reply
      0
      • H Hellin

        Hi , how can i get the IP adresses and machine names of other computers in my local network ? I come from china ,so my english is very poor ? Thank you very much ! :)

        A Offline
        A Offline
        Adi Narayana
        wrote on last edited by
        #3

        just check the following url http://www.codeproject.com/internet/ipaddress.asp?target=gethostname or check out msdn at Platform SDK: Windows Networking Enumerating Network Resources adi

        1 Reply Last reply
        0
        • H Hellin

          Hi , how can i get the IP adresses and machine names of other computers in my local network ? I come from china ,so my english is very poor ? Thank you very much ! :)

          D Offline
          D Offline
          Dudi Avramov
          wrote on last edited by
          #4

          This is exactly what you need: Enumeration of Computer Names and their IP address

          A 1 Reply Last reply
          0
          • D Dudi Avramov

            This is exactly what you need: Enumeration of Computer Names and their IP address

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            Thanks a lot ,my close foreign friends!

            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