[Bro] using broccoli to send events to bro
Robin Sommer
robin at icir.org
Tue Sep 24 13:36:17 PDT 2013
On Tue, Sep 24, 2013 at 10:12 -0500, Mike Sconzo wrote:
> while bc.processInput():
> sleep(2)
Actually I'm not sure if processInput() returns true if there's
something in *send* queue (as opposed to the receive queue). There
might still be a race condition there. Does it work with an infite
loop:
while True:
bc.processInput():
sleep(1)
Often the most reliable way to get such stuff working is sending an
acknowledge event back and only terminating once that has been
received.
Robin
--
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org/robin
More information about the Bro
mailing list