[Winpcap-users] pcap_loop()/pcap_breakloop() problem

Srivats P pstavirs at gmail.com
Wed Nov 11 22:39:15 PST 2009


GV,

I rewrote the code to use pcap_next_ex() and instead of using
pcap_breakloop() used my own flag variable and things are now working
fine.

Many Thanks!

Regards,
Srivats

On Wed, Nov 4, 2009 at 8:36 PM,  <winpcap-users-request at winpcap.org> wrote:
> Date: Tue, 3 Nov 2009 16:14:40 -0800
> From: "Gianluca Varenni" <gianluca.varenni at cacetech.com>
> Subject: Re: [Winpcap-users] pcap_loop()/pcap_breakloop() problem
> To: <winpcap-users at winpcap.org>
> Message-ID: <24E1C7DC3463495C91220BD7F1E2EDAB at NELSON3>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>        reply-type=original
>
> There is no difference between pcap_next_ex and pcap_loop/pcap_dispatch even
> in that case. Please consider that when dumping to disk, the bottleneck is
>
> 1. the disk itself
> 2. the filesystem
> 3. the fact that pcap_dump_open/pcap_dump use the standard FILE I/O
> routines.
>
> Have a nice day
> GV


More information about the Winpcap-users mailing list