On Thu, Sep 13, 2001 at 05:07:43AM +0200, rooty wrote:
> The problem is i hve a libpcap application with 
> pcap_setfilter() and pcap_compile().
> If the Pcap_setfilter()  is used i can't write any more on the 
> standart output STDOUT /*linux of course*/.

("of course"?  Linux isn't the only OS with STDOUT, or libpcap.... :-))

What happens if your application tries to write to the standard output?

Tcpdump and Tethereal are two programs that use "pcap_setfilter()" when
capturing and that (if not run with the "-w" flag, which causes them to
save a binary capture file) send a dissected form of the packets to the
standard output as text, so "pcap_setfilter()", by itself, doesn't
prevent a program from writing to the standard output.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to