ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Piping data to wireshark

From: kahou lei <kahou82@xxxxxxxxx>
Date: Thu, 23 Sep 2010 09:38:45 -0700
Hi,

I wrote a simple program to pipe some data into wireshark. Everything
works fine except it doesn't show up the last packet in the wireshark.
I am using win32 api (WriteFile, FlushFileBuffers). Those function
calls indicate I have successfully written the data to the buffer and
flush it to the pipe.

For example, I want 10 packets pipe to the wireshark in a loop. I will
execute this loop in every 10 seconds. What I observe is that the 10th
packet will not be shown up to wireshark until the next loop occurs.
Also, this problem only occurs in 1.2.11 and it goes away in 1.4.0. Do
you fix anything recently?

Thanks,
Kahou