You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document says pcap_next_ex returns 1 if the packet was read without problems. However, it seems should be > 0. It's better to correct the document if it does.
The text was updated successfully, but these errors were encountered:
Under what circumstances have you found that it returns a value > 1?
Sorry, I looked through pcap_offline_read and thought it will return a number representing packet count, but forgot that only cnt=1 is passed in pcap_next_ex. I will be more careful next time. Sorry again.
The document says pcap_next_ex returns 1 if the packet was read without problems. However, it seems should be > 0. It's better to correct the document if it does.
The text was updated successfully, but these errors were encountered: