First time here? Check out the FAQ!
answered 2018-11-19 21:53:14 +0000
You are reading raw packet data through the use of Pcap4J, but are not writing PCAP format files. You simply dump the raw packet data into a file. You need to add the file format structures are well.