Re: Ping monitor - monitor ip in the background?
nested function. It is visible and usable only in "start" function. -- Best Regards, Andrey Balaguta -- http://mail.python.org/mailman/listinfo/python-list
Re: Ping monitor - monitor ip in the background?
se: print 'Host is dead.' p.register_callback(printout) p.start() while True: print "Ding..." time.sleep(1) ======== Note that printout will be called ONLY if host state has changed, not on EVERY ping. -- Best Regards, Andrey Balaguta -- http://mail.python.org/mailman/listinfo/python-list