Results 1 to 4 of 4
  1. #1
    coco is offline Member
    Join Date
    Jul 2007
    Posts
    39
    Rep Power
    0

    Default How can I figure out all the IPs on my network devices

    Hi, I was trying to write a simple applet but I can't seem to figure out what library to import to figure out the IP address, OS, and other localhost system information.
    If you know which ones could you tell me them and their respective calls or where to look?
    Also how can I figure out all the IPs on my network and their respective devices?
    Thanks.

  2. #2
    toby is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Java Code:
    I think it's:
    import java.net.*
    But I can't remember much more than that..

  3. #3
    a_maged is offline Member
    Join Date
    Dec 2007
    Posts
    5
    Rep Power
    0

    Default

    import java.net.*;
    //to get the ip type

    getInetAddress();

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

    Default

    Have you seen this? Go a little further down to where it says "getting host name/IP addresses".

Similar Threads

  1. Java assignment - couple methods don't know how to figure out
    By Snowboardmylife in forum New To Java
    Replies: 1
    Last Post: 04-16-2008, 11:52 AM
  2. How to control robots and other devices
    By francojava in forum Advanced Java
    Replies: 0
    Last Post: 01-24-2008, 05:03 PM
  3. Seems so simple yet I can't figure it out!
    By adamhaviland in forum New To Java
    Replies: 1
    Last Post: 11-03-2007, 07:26 PM
  4. I can't figure this out
    By silvia in forum New To Java
    Replies: 3
    Last Post: 07-20-2007, 05:38 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
  •