[Winpcap-users] pcap_loop callback timing problem..

James Hunter jhunter at aptcodecs.com
Tue May 19 08:33:20 PDT 2009


Hi,

 

I`m creating an application that can sniff packets from a network
interface real-time, whilst repeating only certain packets to a
different network interface.

 

I have found that the callback is being called multiple times in a burst
style, rather than as packets arrive. If the network sends packets every
100ms, I will receive 10 callbacks immediately after each other - with
each burst of 10 callbacks spaced about a second apart..

 

This is causing problems at the far end which expects a constant flow of
packets, is there anything I can do get the callback to trigger as and
when packets arrive?

 

Regards,

 

James

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090519/6d34288e/attachment.htm 


More information about the Winpcap-users mailing list