Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3023

Re: LAN scan

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Ike Naar <ike@iceland.freeshell.org>
Newsgroups comp.programming
Subject Re: LAN scan
Date Thu, 14 Feb 2013 23:09:24 +0000 (UTC)
Organization A noiseless patient Spider
Lines 14
Message-ID <slrn3vfskhqrm3.mgt.ike@iceland.freeshell.org> (permalink)
References <b449a050-0c32-4728-9c7e-2a333c48fb41@googlegroups.com> <slrn3vfskhp08i.c67.ike@sverige.freeshell.org> <6eb5c994-e26b-4e6f-bba9-2e86e42f40ca@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Injection-Date Thu, 14 Feb 2013 23:09:24 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="0be15772a183805a7eecac7d41b73a46"; logging-data="13841"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BNW1efecP+hnKmMiMWWdH"
User-Agent slrn/0.9.9p1 (NetBSD)
Cancel-Lock sha1:K4obq/41sewwU1XZg/qvnEbTwFI=
Xref csiph.com comp.programming:3023

Show key headers only | View raw


On 2013-02-14, bob <bob@coolfone.comze.com> wrote:
> On Thursday, February 14, 2013 12:15:14 AM UTC-6, Ike Naar wrote:
>> On 2013-02-13, bob <bob@coolfone.comze.com> wrote:
>> > Does anyone know how to scan a local network to get all the computer names on it?
>> > Basically, in Windows, in the File Explorer, there's a list called
>> > Network that has all the computer names of PCs on your network.
>> > I want to know how to get that list from my own program.  
>> ping to the broadcast address; then run arp -a
>
> I tried pinging 255.255.255.255, but only maybe 8 machines respond out of like 50 on the network?
>
> Do you know why?

The broadcast address for the network you're on, not 255.255.255.255

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

LAN scan bob <bob@coolfone.comze.com> - 2013-02-13 13:17 -0800
  Re: LAN scan Ike Naar <ike@sverige.freeshell.org> - 2013-02-14 06:15 +0000
    Re: LAN scan bob <bob@coolfone.comze.com> - 2013-02-14 07:36 -0800
      Re: LAN scan Ike Naar <ike@iceland.freeshell.org> - 2013-02-14 23:09 +0000
        Re: LAN scan bob <bob@coolfone.comze.com> - 2013-02-15 06:56 -0800

csiph-web