Re: An intranet question
- From: castillo.bryan@xxxxxxxxx
- Date: 26 Dec 2005 19:30:14 -0800
Allen Charlton wrote:
> Anybody know how to obtain the information of all the hosts that are in
> the same local network as mine? For example, on Windows, how can I get
> a list of computers' information in the same workgroup?
>
> Computers in the same intranet has the same IP address prefix (such as
> 192.168.0.1 through 192.168.0.255). Especially I want to get the list
> of those hosts' IP addresses.
>
> Is any class in package java.net able to do this job? Hope I clearly
> express my problem. Thanks!
There is a 3rd party library that can probably do it, called JCIFS. I
have used it to access files on a windows share, but I haven't tried
listing a domain, or workgroup. The API says it can do it though.
http://jcifs.samba.org/src/docs/api/jcifs/smb/SmbFile.html
.
- References:
- An intranet question
- From: Allen Charlton
- An intranet question
- Prev by Date: Re: Has anyone compared Eclipse 3.1(.X) and NetBeans 5.0 (Beta X)?
- Next by Date: Re: Java VM Address Space
- Previous by thread: Re: An intranet question
- Next by thread: i18n currency
- Index(es):
Relevant Pages
|
|