How to get return value from dispatch/loop?

Help
2002-07-30
2002-07-30
  • Grant Edwards
    Grant Edwards
    2002-07-30

    I can't figure out how to get the return value from the pcap dispatch and loop functions.  It is supposed to return the number of packets processed, but it always returns None.