Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3019 > unrolled thread
| Started by | bob <bob@coolfone.comze.com> |
|---|---|
| First post | 2013-02-13 13:17 -0800 |
| Last post | 2013-02-15 06:56 -0800 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.programming
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
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2013-02-13 13:17 -0800 |
| Subject | LAN scan |
| Message-ID | <b449a050-0c32-4728-9c7e-2a333c48fb41@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | Ike Naar <ike@sverige.freeshell.org> |
|---|---|
| Date | 2013-02-14 06:15 +0000 |
| Message-ID | <slrn3vfskhp08i.c67.ike@sverige.freeshell.org> |
| In reply to | #3019 |
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
[toc] | [prev] | [next] | [standalone]
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2013-02-14 07:36 -0800 |
| Message-ID | <6eb5c994-e26b-4e6f-bba9-2e86e42f40ca@googlegroups.com> |
| In reply to | #3021 |
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? Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Ike Naar <ike@iceland.freeshell.org> |
|---|---|
| Date | 2013-02-14 23:09 +0000 |
| Message-ID | <slrn3vfskhqrm3.mgt.ike@iceland.freeshell.org> |
| In reply to | #3022 |
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
[toc] | [prev] | [next] | [standalone]
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2013-02-15 06:56 -0800 |
| Message-ID | <d36590a3-2a3e-4566-acab-109d02f01bc1@googlegroups.com> |
| In reply to | #3023 |
On Thursday, February 14, 2013 5:09:24 PM UTC-6, Ike Naar wrote: > 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 I get pretty much the same result if I do this: ping 192.168.0.255 BTW, I got the 255.255.255.255 from here: http://en.wikipedia.org/wiki/Broadcast_address "A special definition exists for the IP broadcast address 255.255.255.255. It is the broadcast address of the zero network or 0.0.0.0, which in Internet Protocol standards stands for this network, i.e. the local network."
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web