Title: Message
That would depend entirely on how many packets were present on the network in those 10 ms and the amount of kernel buffer space allocated...
-----Original Message-----
From: Bala, Srinath [mailto:[EMAIL PROTECTED]
Sent: 13 May 2004 15:11
To: '[EMAIL PROTECTED]'
Subject: RE: [WinPcap-users] Capture packets, Process, & Continue...

I am using a 3COM 3C905C-TX adapter.
I guess my real question is:
if I am using pcap_next_ex() in a loop, and doing other operations in the loop after receiving the pkt, for say 10ms, do I loose packets being received during those 10ms ???
Or does winpcap keep the pkts, do they can be processed the next time I call pcap_next_ex() ???
 
pseudo code:
 
while (1)
{
if (pcap_next_ex() == 1)
    {
    do something with pkt....(10ms loop)
    }
}
 
Thanks, Srinath

Reply via email to