Re: pinging or else network devices from livecode

2011-01-24 Thread Alex Tweedly
No, the arp command doesn't send out anything. My sample code did an "open datagram socket to tSocket " for each IP address, which *will* cause the IP subsystem to send an arp request packet for the IP address (if it's not already in the arp table), but won't cause any packet to be sent to the

Re: pinging or else network devices from livecode

2011-01-24 Thread Robert Brenstein
On 24.01.11 at 09:43 -0800 Bob Sneidar apparently wrote: Wait a minute, the arp command does not send out anything does it? I thought arp only parsed out the current arp table for the device you are running the command on. Yes, that is what Alex's code does. It opens datagram to each address

Re: pinging or else network devices from livecode

2011-01-24 Thread Bob Sneidar
Wait a minute, the arp command does not send out anything does it? I thought arp only parsed out the current arp table for the device you are running the command on. Try flushing your arp cache, then running the arp command and see what you get. On a Unix terminal, the arp command needs a swit

Re: pinging or else network devices from livecode

2011-01-24 Thread Bob Sneidar
Yes Spiceworks core feature is to be able to run scheduled scans. You can add multiple scan ranges, so let's say all your accounting computers have a different domain login than your R&D computers. Just group your computer IP addresses together according to your company organizational structure,

Re: pinging or else network devices from livecode

2011-01-22 Thread Robert Brenstein
On 22.01.11 at 01:28 + Alex Tweedly apparently wrote: You can't do ping directly from LC - LC only supports UDP and TCP sockets, not ICMP or raw. You could do it via shell - but too many devices may not respond to ping. Do you want to find all active IP addresses on your own subnet, or on

Re: pinging or else network devices from livecode

2011-01-22 Thread Robert Brenstein
On 21.01.11 at 17:46 -0800 Bob Sneidar apparently wrote: Once you ping an address you can shell to get the arp table. Use arp -a. BTW have you looked at Spiceworks? They have an incredible scan engine that gets just about anything with a management protocol. AND it's FREE! Bob I just looke

Re: pinging or else network devices from livecode

2011-01-21 Thread Bob Sneidar
Once you ping an address you can shell to get the arp table. Use arp -a. BTW have you looked at Spiceworks? They have an incredible scan engine that gets just about anything with a management protocol. AND it's FREE! Bob On Jan 21, 2011, at 12:52 PM, Robert Brenstein wrote: > A weekend challe

Re: pinging or else network devices from livecode

2011-01-21 Thread Alex Tweedly
You can't do ping directly from LC - LC only supports UDP and TCP sockets, not ICMP or raw. You could do it via shell - but too many devices may not respond to ping. Do you want to find all active IP addresses on your own subnet, or on any arbitrary subnet ? If it's on your own, then here's w

pinging or else network devices from livecode

2011-01-21 Thread Robert Brenstein
A weekend challenge for those who are bored, but not only... I wonder whether it is possible to have a livecode stack that scans all IP addresses within a specific subnet to check whether devices are there. I am currently using Remote Desktop to do those scans manually but this is becoming bor