The Artima Developer Community
Sponsored Link

Java Answers Forum
Network listing using JAVA

1 reply on 1 page. Most recent reply: Feb 14, 2004 3:26 PM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Sunitha C S

Posts: 20
Nickname: sunics
Registered: Dec, 2003

Network listing using JAVA Posted: Feb 10, 2004 3:41 AM
Reply to this message Reply
Advertisement
Hi all,

Can anyone tell me how to list the network devices in LAN using java code?

URGENT!!!!!!!!!!!!!!!!!!

Sunitha


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Network listing using JAVA Posted: Feb 14, 2004 3:26 PM
Reply to this message Reply
Ask your network administrator for the commands which do that for the type of operating system it runs on, and then use the System runtime method to execute it through java.

There are no java.net package classes that I know about that generically do what you are asking.

java is full of all kinds of stuff for making connections to servers and such.

Flat View: This topic has 1 reply on 1 page
Topic: Program Flow: try, catch, finally Previous Topic   Next Topic Topic: Reading file input

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use