Re: [tcpdump-workers] reading a live pcap file in real time

2009-03-03 Thread Guy Harris
On Mar 3, 2009, at 11:06 AM, Guy Harris wrote: Look at the source of the "dumpcap" program in Wireshark for an example of how to do the capture side of that. The secret is that it doesn't just write to the file and not communicate with the program on whose behalf it's capturing - every ti

Re: [tcpdump-workers] reading a live pcap file in real time

2009-03-03 Thread Guy Harris
On Mar 2, 2009, at 3:42 PM, Giovanni Venturi wrote: I'm using libpcap 3.9.8. I made a GUI application under KDE that when I ask to start sniffing packets from the network, than it starts another application (not a GUI) that captures all the packets and write them into a file. Gee, there's

[tcpdump-workers] reading a live pcap file in real time

2009-03-03 Thread Giovanni Venturi
Hello, I'm using libpcap 3.9.8. I made a GUI application under KDE that when I ask to start sniffing packets from the network, than it starts another application (not a GUI) that captures all the packets and write them into a file. From the GUI I have under control the file it writes. And I use