> >
> > As I just found out, this ONLY happens if pcap_open is called
> > from inside a thread. If I use it only inside main all works
> > as expected.
> >
> > Clueless...
> 
> Sounds to me like your main function opens the handle to WinPcap, and
> the sub-thread is unable to inherit the handle.
> 
> ... Just a guess.
> 

No. That would have been just to simple :). It's the function pcap_open that
creates the handle and nothing except pcap_findalldevs() has been executes.
For my special test they also were in the very same function.
And all, but the NdisWan device are working.

/Marc

> SLH.
> ---
> Steighton Haley                          [EMAIL PROTECTED]
> Software Engineer
> 
> "There are 10 types of people in this world,
> those who understand binary, and those who don't."
> 
> 
> 
> ======================
>  This is the WinPcap users list. It is archived at
>  http://www.mail-archive.com/[EMAIL PROTECTED]/
> 
>  To unsubscribe use
>  mailto: [EMAIL PROTECTED]
> ======================



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to