pinging or else network devices from livecode
Robert Brenstein
rjb at robelko.com
Sat Jan 22 18:38:43 EST 2011
On 22.01.11 at 01:28 +0000 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 any arbitrary subnet ?
At the moment I need to check only my own subnet, but checking
another subnet will come later.
>If it's on your own, then here's what I'd do
>
>- try opening a UDP socket to each IP address
>- use shell / arp to see what's there.
>
>every device should respond to an arp request, so this is much more
>likely to find all active devices.
>
Just did a quickie try with your code. Sounds like it will do what I want.
Thanks!
Robert
More information about the use-livecode
mailing list