[PLUG] Listing Network Computers Programmatically

Aditya Godbole aag.lists at gmail.com
Mon Feb 26 10:08:30 PST 2007


On 2/26/07, Ashutosh Adkar <ashu.adkar at gmail.com> wrote:
> Hi.
> Can anyone tell me how to get a list of computers on the LAN connected to my
> computer on Linux.
> Any platform will do (C,Java etc)
>

If the computers are not firewall protected, you could write a script
that checks your subnet, does a ping broadcast and parses the
response. Just a hint, I haven't thought about the details, but should
be fairly easy with Perl.
(http://search.cpan.org/search?query=ping&mode=all)

--
aditya



More information about the plug-mail mailing list