Re: browsing local network - get computer names

From: Tim Ward (tw2_at_ipaccess.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 14:27:01 +0100


"Niki Iv" <niki_iv@abv.bg> wrote in message
news:a5sc80hqbh728amjsuf3cvtjpkat40ee2n@4ax.com...
> Is there a way to get which computers a connected to a local network
> from java. I can get the local Network interface but I cannot guess
> what is the mask, broadcast address etc.

When I asked this, not too long ago, I was told that there was no way at all
to get the subnet mask using pure Java (and hence no way to calculate the
broadcast address etc). You might have a look at 1.5 to see whether it's
been fixed there.

--
Tim Ward
Brett Ward Limited - www.brettward.co.uk


Relevant Pages

  • Re: JAVA PERMISSIONS and webcam - question
    ... >>Can anyone tell me if I possibly, inadvertently, might have broadcast my webcam ... > Java Applets cannot talk to your webcam without being signed. ... That is what I think I may have done, (oked running a signed applet), ...
    (comp.lang.java.programmer)
  • Re: PC Firewall and Sunfish/Truegrid
    ... > Make sure you're not running the WinXP firewall as well. ... > it you trust the local network, as that is simpler than listing the systems. ... > type the IP address and subnet mask. ... access, which was as listed as trusted in Outpost, but which Outpost ...
    (comp.sys.acorn.networking)
  • Re: Configuring router for static IP address on LAN
    ... subnet mask and the default gateway. ... Subnet mask tells the machine which IP addresses are on the ... to get _off_ the local network out to the wider world. ... But I *can't* access it on the LAN by typing in its IP address under "Connect ...
    (uk.comp.sys.mac)
  • RE: Win2K Srv sending NBSTAT name query broadcasts to Internet IPs
    ... Time delta from previous packet: ... User Datagram Protocol, Src Port: netbios-ns, Dst Port: netbios-ns ... You are right about broadcast packets, something destined for a specific IP ... to random IP addresses outside of my local network. ...
    (microsoft.public.win2000.networking)
  • Re: Worthless shows on new HD networks
    ... part of which consists of LOCAL NETWORK AFFILIATES!!!! ... HDNet Movies, both garbage. ... Why are you paying for local HD broadcast? ...
    (alt.tv.tech.hdtv)