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
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode