Thanks Hadriel for taking the time to investigate.
 
I do have found something I'm going to try out in the next few minutes.  I have used the timeout by default from the sample (which is 1000) for the pcap_open.  I'll try a much smaller value.  I think that should do the work.
 
Frank
 
-----Original Message-----
From: Hadriel Kaplan [mailto:[EMAIL PROTECTED]
Sent: Friday, April 08, 2005 11:15 AM
To: Couderc, Francois
Subject: RE: [WinPcap-users] Winpcap acquisition performance

FYI:

I use winpcap 3.1 beta 4 with ethereal 0.10.10, and I just tried it in a few different ways and all the ICMP request/response times in Ethereal are exactly correct for me.

(much less than 1 millisecond for local network pings, and the right number of millisecond for long distance pings)

 

 


From: Couderc, Francois [mailto:[EMAIL PROTECTED]
Sent: Friday, April 08, 2005 8:53 AM
To: winpcap-users@winpcap.polito.it
Subject: [WinPcap-users] Winpcap acquisition performance

 

Hi,

 

I've looked at the archive but I haven't found anything so here is my question.

 

My application uses winpcap to receive all ethernet traffic but I find the library to be very slow.  For example I do a ping to another machine.  The ping shows me a <1ms delay for reply.  But in winpcap, the delay between the ping request icmp message and the ping reply icmp message is 300ms!!  Is there a way to increase the speed of acquisition of winpcap?  I have the same result using Ethereal.

 

Thanks in advance for your help.

 

Frank

 

Reply via email to