[Winpcap-users] why pcap_findalldevs run about 30 seconds
工商银行
my95588 at gmail.com
Mon Dec 10 07:31:15 GMT 2007
I migrate to use Winpcap 4.0 .
When the Windows xp boot,and i enter the user password to login the windows
desktop.
I found that the pcap_findalldevs function consume about 34 seconds.
My question is how long does the winpcap driver loaded ?
Does it loaded earlier than the network interface loaded?
The program is prepared for a local network to authorization.
It is a radius client program
It doesn't enable IPv6 .
It doesn't enable wireless zero configuration service.
My program is put into the windows system service.auto started.
My environment is windows xp sp2 ,winpcap 4.0
Thank you!
michael
在07-12-10,工商银行 <my95588 at gmail.com> 写道:
>
> Thank you for your suggestion.
> I try it.
> michael
>
>
>
> 2007/12/8, Gianluca Varenni <gianluca.varenni at cacetech.com>:
> >
> > 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:* 工商银行 <my95588 at gmail.com>
> > *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
> >
> >
> > _______________________________________________
> > 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/20071210/39ac9fb7/attachment.htm
More information about the Winpcap-users
mailing list