Re: [tcpdump-workers] pcap_dispatch does not return , block in recvfrom call ... ?

2005-11-30 Thread Antoine Tremblay
Ha select how could I forget you :) Thx a lot it works #1 now ! Antoine On 11/29/05, Guy Harris <[EMAIL PROTECTED]> wrote: > > > On Nov 29, 2005, at 3:04 PM, Antoine Tremblay wrote: > > > I have a problem with pcap_dispatch > > > > I wish to use it in

[tcpdump-workers] pcap_dispatch does not return , block in recvfrom call ... ?

2005-11-29 Thread Antoine Tremblay
Hi all, I have a problem with pcap_dispatch I wish to use it in blocking mode , in a thread, but the problem is that when there is no data to sniff it will block forever in pcap_dispatch Even with a timeout set in open_live , (i'm under linux 2.6 so maybe this is not working under linux ? ) So i