[Winpcap-users] Re: breaking out of a pcap_next_ex() loop
Gubrush .
vga_planets at hotmail.com
Fri May 12 14:53:15 GMT 2006
Hi
How about pcap_breakloop( pointer_to_handle );
http://www.winpcap.org/docs/docs31/html/group__wpcapfunc.html#ga15
>From: joe kibz <chikabanga2005 at yahoo.com>
>Reply-To: winpcap-users at winpcap.org
>To: winpcap-users at winpcap.org
>Subject: [Winpcap-users] Re: breaking out of a pcap_next_ex() loop
>Date: Fri, 12 May 2006 05:53:59 -0700 (PDT)
>
>problem:
>
> here's my code in brief:
>
> void CButton::onButtonCapture(){
>
> open a device handle;
>
> while(pcap_next_ex())//capture packets;
>
> }
>
> ?How do i break out or stop a pcap_next_ex() loop whenever i want ?
> ?How does the timeout value in pcap_next_ex() parameters work ?
>
>
> joe
>
>
>---------------------------------
>Yahoo! Mail goes everywhere you do. Get it on your phone.
>_______________________________________________
>Winpcap-users mailing list
>Winpcap-users at winpcap.org
>https://www.winpcap.org/mailman/listinfo/winpcap-users
More information about the Winpcap-users
mailing list