The timeout affects the responsiveness rather than the continuity of the
capture. It defines the maximum interval after which a captured packet will
be delivered by WinPcap to your app. A shorther interval allows better
responsie times, because the packets are delivered as soon as they arrive; a
longer interval results in a better usage of the winpcap buffers and
therefore allows  better efficiency.

Loris

----- Original Message -----
From: "Mohamed Riadh KORTEBI" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 12:38 PM
Subject: [WinPcap-users] pcap_open_live timeout ?


> Hi,
>
> I wish to design an application that monitor my LAN trafic, for this
> i use
> WinPcap (the pcap function).
>
> To monitor continuously the network trafic which value should take
> the
> timeout (to_ms) value of pcap_open_live() function ?
>
> Thank's
>
>
>
> _________________________________________________________________
> Discutez en ligne avec vos amis, essayez MSN Messenger :
> http://messenger.msn.fr
>
>

Reply via email to