dumpOpen

fnPcapDumper dumpOpen(PcapHandle * handle, string fname)

Opens a savefile for writing.

Parameters

handleThe pcap handle defining the link-layer type and snapshot length.
fnameThe path to the savefile.

Returns

A PcapDumper RAII wrapper.