[Winpcap-users] Capturing packets for a certain time

Emre qxtrml at gmail.com
Thu Nov 12 05:30:44 PST 2009

Hi, i want to capture packets from an interface for a certain time. There is
example with pcap_loop function which captures packets with cnt parameter.
This function captures cnt number of packets from interface . But i want to
do is capture packets from an interface for ten seconds. There is a
pcap_breakloop function for breaking the pcap_loop but i don't know how to
use it for my need. Please help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20091112/4291711b/attachment.htm 

More information about the Winpcap-users mailing list