Results 1 to 3 of 3

Thread: Network Programming...

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    9

    Exclamation

    How would I be able to get all of hte IP's on a network, and output them in a listbox or so?

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137
    You could try pinging all possible IP addresses?

    Not really very efficient but it would work.

    To do it properly you would have to wait for the max timeout period, ie. 30 seconds and try 2-3 times for hosts that do not respond. This would mean a time of 10 mins or greater on a large network between initating the task and the completion.
    Regards

    Matt Brown
    Hamilton, NZ
    VB6 C++ in Visual Studio 6sp4
    VB.net Beta 1

  3. #3
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    Have a look at the WNet API calls.

    There are some of them that allow you to Enumerate the domains or machines on a domain. Effectively this correlates to those machines that are available.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width