[Winpcap-users] why pcap_findalldevs run about 30 seconds

Gianluca Varenni gianluca.varenni at cacetech.com
Fri Dec 7 21:57:33 GMT 2007


This can be due to a number of reasons.

Do you have IPv6 enabled on your machine? this might slow down things a lot.
Are you calling pcap_findalldevs from within a service that starts at boot time (maybe before you notify the SCM that the service is up and running)?

Also, I strongly suggest you to migrate to WinPcap 4.0. It contains a huge number of bug fixes, and we do not provide any support for such an old version of WinPcap.

Have a nice day
GV


  ----- Original Message ----- 
  From: ???? 
  To: winpcap-users at winpcap.org 
  Sent: Friday, December 07, 2007 12:34 AM
  Subject: [Winpcap-users] why pcap_findalldevs run about 30 seconds


  Hi,all
  I have developped a radius client application .
  and use libnet and winpcap API.
  The purpose is that deny the unauthoried user.
  The procedure is 
  1 the windows xp started.
  2.my application started to authorized with the radius server.
  I trace my application that found pcap_findalldevs consume about 30 seconds.
  pcap_findalldevs run so slowly?
  Can anyone help me?
  My environment:Windows xp,winpcap 3.0 

                        michael



------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20071207/96b52c04/attachment.htm


More information about the Winpcap-users mailing list