> > Is it possible to use libpcap with pthreads?
> > (I want to use just pcap_dispatch() function)
>
> I very much doubt so. It's not possible to use it in any kind of
> multithreaded applications, even with select() scenarios.
That's a BPF problem, not a libpcap problem; see PR kern/22063 "bpf when
used with the select system call with timeout doesn't forward packets on
timeout", which includes a patch (although it's uuencoded and, at least
when you view that PR over the Web, the uuencoded text doesn't appear to
be valid).
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message