You need to multi-thread your code. Not that it is guaranteed but you need to get the packets out of the queue as fast as possible and put them in your own queue.
Of course, you can then end up with an ever-growing queue if your code can't keep up. If all you do is count packets and NOTHING else does it behave? What kind of network card do you have? Michael D. Black Senior Scientist Analytics, Production and Services Advanced GEOINT Systems Northrop Grumman Information Systems ________________________________________ From: [email protected] [[email protected]] on behalf of A.L. Kuramshin [[email protected]] Sent: Wednesday, June 26, 2013 11:48 AM To: [email protected] Subject: EXT :Re: [Winpcap-users] winpcap capture speed As for me, it would not help. Packets loss will be delayed a bit, that's it. It will begin for example after 1 million packets or 2 or so, a bit later. Just thoughts.. :) _______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users _______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
