--- In [email protected], "mockey_a" <[EMAIL PROTECTED]> wrote:
>
> Hi Alan.
>
> I just tried net.ping_threaded in the newest version of net-plugin:
> net.ping_threaded("www.google.com", -1, -1, -1, -1, -1, ?$win.debug
> ("yep")$, ?$win.debug("nope")$)
> The callbacks work fine so far with one problem: The unsuccessful
> command is only called, when I use an invalid address, e.g. "test".
> When there is a timeout, which you should always get, when you use a
> valid IP, or when the host is not reachable, the successful command is
> called. I think the successful command only should be called when
> there actually is a successful ping.
> I could track the net_packets_recvd variable or so, but I think it
> would be easier if you could change the cases when the successful
> command is called.

Sure, easy to do.  I'll add another param that will determine
what conditions would be regarded as error.  Could be just boolean,
but also could be 0 (only if invalid address); positive integer ==
timeout beyond which regarded as error....and??)








Attention: PowerPro's Web site has moved: http://www.ppro.org



SPONSORED LINKS
Computer monitoring software Power pro Computer and internet software
Free computer monitoring software


YAHOO! GROUPS LINKS




Reply via email to