Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.