"Using Waitable Timer Objects"

 

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

-- 
  "Fish"  (David B. Trout) 
    [email protected]

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Ryan McLean
Sent: Monday, February 21, 2011 2:09 AM
To: [email protected]
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

_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to