how to get each packet data byte as it comes in and write it to a text file(real time)?
I am trying to extract the packet bytes as it comes in and process it real time so that I could save time post processing.
By "write it to a text file" do you mean "write to a text file the summary line or packet details shown in Wireshark or printed in TShark"?
Yes. I just got that working by tshark -i eth > text.log. This command helped me to save it to a text file. But now my question is how to access the packet details real time to process it?
@Guy Harris I am trying to get the decoder that gives lap timing on a track each time a car passes by using wireshark that is in Hex format. I want to decode those details using a macro to get the best timing of it so that I have the best lap time before the capture is complete.