wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes list all machine name and ip addresses in LAN using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply locked New topic
Author

list all machine name and ip addresses in LAN using java

karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

can anyone please help me ti write a java code to get the list of all name and ip address that are online in a lan connection using java.......

it will be more helpful if someone come up with the code....


KARTHICK.C , SCJP6-93%
(Born to Win)
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5216
    
  12

Hi karthick,

Don't think this is the right forum to post this question.

I also don't think we are supposed to do your homework or tasks. Maybe you can post the code you already have and tell us what the problem is with your code, so we'll be able to solve your problem (instead of asking just to provide the code and do the job you should do). I even doubt if you tried it yourself.

I just noticed you also posted it on the Java Intermediate forum, cross-posting is And you got there the same comment as I just made.

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
karthick chinnathambi
Ranch Hand

Joined: Jul 06, 2009
Posts: 196

Roel De Nijs wrote:Hi karthick,

Don't think this is the right forum to post this question.

I also don't think we are supposed to do your homework or tasks. Maybe you can post the code you already have and tell us what the problem is with your code, so we'll be able to solve your problem (instead of asking just to provide the code and do the job you should do). I even doubt if you tried it yourself.

I just noticed you also posted it on the Java Intermediate forum, cross-posting is And you got there the same comment as I just made.

Kind regards,
Roel


ya thanks for your reply......i tried it but i couldn't find the correct method or way...........
could you please guide me with the concept to be used in for the above.......
i asked for a sample code because i understand better when i see the coding.....
thanks in advance........
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11432
    
  85

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: list all machine name and ip addresses in LAN using java