[Winpcap-users] Timed Capture

Fish" (David B. Trout fish at infidels.org
Tue Feb 22 01:23:26 PST 2011


"Using Waitable Timer Objects"

 

(http://msdn.microsoft.com/en-us/library/ms687008(v=vs.85).aspx)

-- 
  "Fish"  (David B. Trout) 
    fish at softdevlabs.com

 

From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Ryan McLean
Sent: Monday, February 21, 2011 2:09 AM
To: winpcap-users at winpcap.org
Subject: [Winpcap-users] Timed Capture
Importance: High

 

Hi,

I am writing a C++ application to capture packets (shock, horror). 
The packets I am waiting for are only sent out every 60 seconds and are not
sent on all interfaces, what I was wanting to know is; is there a function
to allow me to capture on an interface for a specifed time and then stop the
capture regardless of if anything is recieved or not. I can't think of how
to do this without going down the route of multithreading which I want to
avoid.

Regards,

Ryan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110222/28b4ff66/attachment.html>


More information about the Winpcap-users mailing list