[Winpcap-users] Timed Capture
Ryan McLean
pvtryan100 at gmail.com
Tue Feb 22 02:42:59 PST 2011
Thanks David,
That coupled with pcap_next_ex() is just what I wanted.
Regards,
Ryan
On Tue, Feb 22, 2011 at 9:23 AM, "Fish" (David B. Trout)
<fish at infidels.org>wrote:
> "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
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110222/67b01186/attachment.html>
More information about the Winpcap-users
mailing list