Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IP ADDRESS  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!