• Post Reply Bookmark Topic Watch Topic
  • New Topic

How get all the IPs in the LAN  RSS feed

 
ravi inguva
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,
How to get all the IPs in the network including the systems having direct IPs.
i mean using java programming.
please help me on This
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there is a way to do that without going through JNI to <insert OS and/or management software here>. Java network support is pretty high level.
I'd love to be proved wrong on this though
- Peter
 
Ravi Verma
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well You can get all the IPAddress on your machine by InetAddress.getAllByName("HOSTNAME")..... But IPs in the N/W I Don think so you can.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!