[Winpcap-users] questions about latency with winpcap

Gianluca Varenni gianluca.varenni at cacetech.com
Tue May 19 14:38:58 PDT 2009

Getting a latency below 2ms can be difficult with the current WinPcap architecture. WinPcap is optimized for packet capture, so it privileges performance over extremely low latency.

You are saying that you work on UDP, out of curiosity why dont you use normal sockets?

Have a nice day

  ----- Original Message ----- 
  From: Michael Craig 
  To: winpcap-users at winpcap.org 
  Sent: Tuesday, May 19, 2009 11:48 AM
  Subject: [Winpcap-users] questions about latency with winpcap

  We are writing an application that requires consistent small latencies in obtaining packets from the network.  We are grabbing UDP streamed packets from the network and then playing the multi-media stream.  Currently our overall program has unacceptable latencies so we are dissecting it to understand exactly where the latencies are.  I’m concerned it may be in the networking piece.  Can you help me understand what type of latencies we could expect in grabbing packets.  I would like to see sub-2ms.  Are there certain tricks to obtain this type of latency?

  We are programming in a Windows environment using Pcap to simple retrieve the packets for our application.




  Winpcap-users mailing list
  Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090519/d8f9d21b/attachment.htm 

More information about the Winpcap-users mailing list