Net-Ncap
view release on metacpan or search on metacpan
lib/Net/Ncap.pm view on Meta::CPAN
=item polling
Controls whether collection happens continuously (the default) or once.
=item sigwrap
Disabled by default. Controls whether signal handlers are installed for
SIGHUP, SIGINT, and SIGTERM prior to passing control to the collection
loop. Perl only sees these events when it is in context (i.e. during the
callback). Until then they are queued by default, until perl can handle
them. If you are polling on an interface that is not very busy, or if
your filters only occasionally pass an interesting message, it might be
a while before perl gets a chance to handle signals. With this option
enabled, the program is interruptable. Whatever signal handlers were in
place prior to invoking collect are restored once complete.
=item timeout
Disabled by default. Specifies a time window for which your callback
will be invoked, regardless of whether any messages have matched your
filters. In such a case, the message provided to the callback will be
( run in 0.266 second using v1.01-cache-2.11-cpan-87723dcf8b7 )