in reply to Killing Net::pcap::loop

I think the whole problem is that you are attempting to call Net::pcap::breakloop() while you should be calling Net::Pcap::breakloop(). Perl is case sensitive!

Jenda
Enoch was right!
Enjoy the last years of Rome.

Replies are listed 'Best First'.
Re^2: Killing Net::pcap::loop
by umballah (Initiate) on Nov 09, 2009 at 11:32 UTC
    Thanks jenda,

    i tried this but no joy. I still hang on the Net::Pcap::loop.

    umballah.
      There was a workaround to this problem for me in that I could use Net::Pcap::dispatch to collect all frames in the buffer (using argument $cnt = -1) and if not what I expected then report an error.

      Thanks.