Loris
----- Original Message ----- From: "Dave Ungerer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 20, 2004 12:34 PM
Subject: [WinPcap-users] Latency when using blocking mode
Hi there
I'm capturing packets in WinXP.
If I don't call pcap_setnonblock to set non-blocking to 1, the latency when
using pcap_next_ex is always 40 to 100 ms, even if I set the read timeout to
1 ms in pcap_open.
If I do disable blocking mode, the latency is 1 ms or less.
How do I get the latency down when using blocking mode?
All I'm really trying to do is achieve a good balance between throughput /cpu usage of capture and the latency of capture.
Thanks in advance for any help.
Best Regards Dave Ungerer
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
==================================================================
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
