create

fnPcapHandle create(string device, out string errBuf)

Creates a pcap handle for a device.

This handle must be activated with activate() after configuration.

Parameters

deviceThe device name.
errBufBuffer to receive error information if the creation fails.

Returns

A PcapHandle.