How to get IP Address of all PC through java program
Recommended Answers
Jump to Postwhat do you mean for example i have a java script on one of my sites that tells the user visiting the site what there ip adress is. or are you trying to find all ur ip info cuz then you dont need a java program just goto run<cmd< type …
Jump to PostI tell you the way round ...
Process p = Runtime.Runtime().exec("ipconfig");
or just type another command for finding what computers are connected to your computer ( see net commands )
if you have linux or something .... write the commands over ipconfig.
All 7 Replies
mikeandike22
18
Nearly a Posting Virtuoso
nanosani
20
Technize.net addict
Team Colleague
cosi
4
Junior Poster
divakar.durai
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
abhinay1111
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.