Re: An intranet question




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

.



Relevant Pages

  • Re: XP Home Networking Nightmare
    ... >to Linksys then Motorola cable modem) are using Windows XP Home SP2. ... >Both computers can ping each other and access the internet. ... >when I click on it I get the network path was not found error. ... >When I go to the Laptop, I can't even view the workgroup. ...
    (microsoft.public.windowsxp.network_web)
  • Re: windows xp and 2000 home network
    ... >the network, an error occured: ... >The list of servers for this workgroup is not currently available. ... >The network connection is three computers and a DSL modem connected to a ... the three computers are installed with windows xp, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Workgroups
    ... When I first arrived I was thrown into the networking position ... I created the students their own workgroup, ... Some computers use windows ... 2000 and some use windows xp. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Mshome is not accessible
    ... and select the workgroup I get: ... Mshome is not accessible. ... All computers are running Windows XP SP2 and are members of the MSHOME ...
    (microsoft.public.windowsxp.network_web)
  • Re: Probably a very basic problem
    ... >My sisters PC uses Windows 98 ... So I tried again creating a network ... >computer and changing its workgroup name to Mshome then Home. ... >in the network neighbourhood of the computers. ...
    (microsoft.public.windowsxp.network_web)