PcapWriter instance.PcapWriter.create
PcapWriter create(Pcap pcap, string path)Opens a file for writing pcap data.
Parameters
pcap | A Pcap instance used to define the datalink and snapshot length. |
path | The path to the file to create. |
Returns
A new
Throws
PcapException if the file cannot be opened.