PcapHandle.liveDump

PcapStatus liveDump(string fname, int maxSize, int maxPackets)

Starts a live dump to a file. (Windows only)

Parameters

fnameThe path to the file.
maxSizeThe maximum size of the file in bytes.
maxPacketsThe maximum number of packets to write.

Returns

A PcapStatus indicating success or error.