Hi Phil,
Double checking on the code below in your script.  The man page for ping in
OS X and Linux say that ping has an exit code of zero if no errors are
encountered.  Should the test on tResult be for zero or have you found that
empty works too?

Thanks,
Pete
lcSQL Software <http://www.lcsql.com>



On Sat, Apr 28, 2012 at 12:30 PM, Phil Davis <rev...@pdslabs.net> wrote:

> -- check for connection failure
>    if tResult <> empty
>    then return false -- failed
>    else -- connected, but how well?
>
_______________________________________________
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

Reply via email to