Re: [tcpdump-workers] Single packet trouble in libpcap

2005-06-11 Thread Guy Harris
Sam Pierson wrote: On a hopefully final note, It came back quickly when I passed a 1 in as the to_ms parameter, but is there something I can define so that when it picks a packet off the wire, it reads it _immediately_. Not at present. There's an ioctl needed to enable immediate mode on BPF,

Re: [tcpdump-workers] Single packet trouble in libpcap

2005-06-11 Thread Sam Pierson
On a hopefully final note, It came back quickly when I passed a 1 in as the to_ms parameter, but is there something I can define so that when it picks a packet off the wire, it reads it _immediately_. The project I'm doing needs as little latency as possible in picking up the frame. Thanks, Sam