Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IP ADDRESS

 
AmitAng
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell me how can i get the IP ADDRESS of the systems(computers)that are in the network, by some command. Likely in java. Iam designing a application in which ALL THE IP ADDRESS OF THE SYSTEMS(COMPUTERS) THAT ARE IN A NETWORK(DOMAIN).
thanx in advance, for any suggestions.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Ranch has a naming policy, described here and "AmitAng" is not a valid name. Please choose one which meets the requirements. It can benefit you, read Book Giveaway Page
Thanks.
 
v.naveen kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello AmitAng,
yes in java we have a method which will help us in getting the
the IP address.If u can write a program in java using getByName()
method and passing a string value as a parameter u can get the IP address.
 
AmitAng
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Naveen,
Yes you are right, but thing is that, i want to get all the ip address of the systems that are in the network, which i think is not possible by this, thanks if you can help me by some code.
Amit
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!