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


Groups > comp.programming > #3023

Re: LAN scan

From Ike Naar <ike@iceland.freeshell.org>
Newsgroups comp.programming
Subject Re: LAN scan
Date 2013-02-14 23:09 +0000
Organization A noiseless patient Spider
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>

Show all headers | 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