Results 1 to 2 of 2
  1. #1
    CaptnCAPSLOCK is offline Member
    Join Date
    Jan 2011
    Rep Power

    Default How to list all computer in a network?

    Hi, I'm a newbie in this forum but I have a question...

    What are the possibilities to list all computer in a network?

    I've already wrote a program and it does what it should do but it's really inefficiently. It checks all IP-addresses between two IP's if they're reachable with isReachable(). I had to set the timeout to 2000ms and you can imagine how long it takes to check a whole class C net.

    So far I know is isReachable() implemented by the ECHO-protocol.
    Can I send a request to broadcast and every active PC answers to it? Is that possible? Or what about ARP, NetBios/SMB, LLMNR?

    Anyone has an idea?
    I hope you can help me!

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Zurich, Switzerland
    Rep Power


    Quote Originally Posted by CaptnCAPSLOCK View Post
    Anyone has an idea?
    I hope you can help me!

    perhaps you can find some examples with google searching for multicastsniffer

Similar Threads

  1. List serial com ports of computer
    By mickey in forum New To Java
    Replies: 3
    Last Post: 08-06-2010, 08:47 AM
  2. Replies: 1
    Last Post: 05-17-2010, 04:34 PM
  3. Replies: 7
    Last Post: 05-02-2010, 11:35 PM
  4. Replies: 0
    Last Post: 04-07-2009, 11:35 PM

Posting Permissions

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