Results 1 to 4 of 4
  1. #1
    JavaEmpires is offline Member
    Join Date
    Dec 2007
    Posts
    19
    Rep Power
    0

    Default How to determine all the IP addresses of machines on local LAN??


    Hi all,

    I want to know , how to determine the IP addresses of machines on my local LAN. and ultimately how many machines are there in the network.

    And also how to determine the network traffic for a particular PC...


    Thanx in advance


  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    9

    Default

    Welcome to the Java Forums JavaEmpires.

    I believe this topic as been discussed before, please utilize the site's search engine. An answer to your first sentence can likely be inferred from here. I'm not sure about traffic however, so maybe someone will chime in regarding that one.

    See you around!
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  3. #3
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    7

    Default

    I havent been on such cases but I have seen JBoss with cluster mode able to discover all the machines running JBoss in the LAN. They used JGroups for the multicast networking you might get something from JBoss or JGroups codes both are avialable in Jboss.org.
    Multicast ping can be one thing you might want to research on. Or regular unicast ping with generated ip for local network can be other bad* option.
    For traffic SNMP4J - Free Open Source SNMP API for Java might help .. I am not sure if you can use packet sniffers for this purpose as well WinPcap Network Tools and Links
    Lists some of the java port of winpcap.

    These are just suggestions, I wish other will contribute as well.
    dont worry newbie, we got you covered.

  4. #4
    JavaEmpires is offline Member
    Join Date
    Dec 2007
    Posts
    19
    Rep Power
    0

    Default

    I.. I.. CaptainMorgan:D

    Thanx for ur suggestions... u both of u..

    Regards
    JavaEmpires

Similar Threads

  1. javax.mail.SendFailedException: Invalid Addresses;
    By Anju Jose in forum Advanced Java
    Replies: 2
    Last Post: 03-08-2009, 01:29 AM
  2. JDK versions on web server and client machines
    By sunjavaboy in forum New To Java
    Replies: 1
    Last Post: 03-21-2008, 05:59 AM
  3. how to determine the primary key
    By osval in forum JDBC
    Replies: 1
    Last Post: 08-07-2007, 03:31 AM
  4. how to read memory addresses
    By fred in forum New To Java
    Replies: 1
    Last Post: 07-24-2007, 02:59 AM
  5. Cluster using 2 machines
    By Albert in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 07:31 AM

Posting Permissions

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