Re: [Wireshark-dev] Feeding data to Wireshark in real time

2010-03-18 Thread Steve Karg
Hello Kahou, > Does that mean the file header of the pcap file is incorrect? The pcap > file can be displayed on wireshark if I load it manually tho. There is a complete example of using a named pipe in C along with the pcap header and packet data at: https://bacnet.svn.sourceforge.net/svnroot/ba

Re: [Wireshark-dev] Feeding data to Wireshark in real time

2010-03-17 Thread kahou lei
Actually, I can add the named pipe in wireshark. But when I run the c++ example on http://wiki.wireshark.org/CaptureSetup/Pipes. Wireshark returns "Invalid libpcap format". Does that mean the file header of the pcap file is incorrect? The pcap file can be displayed on wireshark if I load it manual

Re: [Wireshark-dev] Feeding data to Wireshark in real time

2010-03-17 Thread kahou lei
Hi Guy, Thanks for you reply. I don't understand what you mean by "giving the pathname of the named pipe as the name of the network interface on which to capture". Can you give me an example? I have followed the c++ example on http://wiki.wireshark.org/CaptureSetup/Pipes. I couldn't get it works

Re: [Wireshark-dev] Feeding data to Wireshark in real time

2010-03-16 Thread Guy Harris
On Mar 16, 2010, at 10:11 PM, Jaap Keuter wrote: > That's called a pipe. To give some more detail: if the application writes a pcap file (complete with file header!) to a named pipe, you can have Wireshark or TShark capture from that named pipe, by giving the pathname of the named pipe as the

Re: [Wireshark-dev] Feeding data to Wireshark in real time

2010-03-16 Thread Jaap Keuter
Hi, That's called a pipe. Thanks, Jaap Send from my iPhone On 17 mrt 2010, at 05:26, kahou lei wrote: > Hi, > > I am implementing an application that will receive real time traffic > from a network interface (the interface is on a remote network > equipment). I would like to see if I can

[Wireshark-dev] Feeding data to Wireshark in real time

2010-03-16 Thread kahou lei
Hi, I am implementing an application that will receive real time traffic from a network interface (the interface is on a remote network equipment). I would like to see if I can display those traffic at the real time in the wireshark. That is, the application will recieve the network traffic and t