[Winpcap-users] pcap_findalldevs Hangs when called in Windows
service
Thomas O'Hare
Tom at RedTile.Com
Fri Aug 11 13:45:33 GMT 2006
Richard
OK, excuse the blatant ignorance of my question, but I am just curious.
Since pcap_findalldevs_ex(), IMO, is very seldom called, why are you
using sub-threads?
IOW, one call and you have your list and then can use that list for a
determinant period of time. If changes occur you can just call the
function again manually.
If you can enlighten me I would appreciate it.
Thanks,
~ Thomas O'Hare ~
President, RedTile, Inc. - DBA: RedTile Software
Web, Wireless, Network, Database & Systems Software
+1.407.295.9148 ; +49.8651.717950 ; http://www.RedTile.Com/
Operations Manager; Virtual FoxPro User Group
Tom at VFUG.Org ; http://www.VFUG.Org/
Steighton_Haley at mcafee.com wrote:
> Yes, confirmed, I have seen the same bug in my application as well.
>
> And as you note, it always happens when pcap_findalldevs_ex is called
> from a sub-thread, rather than the main thread of my application.
>
>
> ________________________________
>
> From: winpcap-users-bounces at winpcap.org
> [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Richard
> Bellengere
> Sent: Tuesday, August 08, 2006 5:44 AM
> To: winpcap-users at winpcap.org
> Subject: [Winpcap-users] pcap_findalldevs Hangs when called in
> Windows service
>
>
> Hi.
>
> I'm getting exactly the same thing. Did you ever get a solution
> to this problem?
>
> It seems to have something to do with findalldevs being called
> from a new thread and not the process's main thread.
>
> Thanks
> RichardB
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
More information about the Winpcap-users
mailing list