PcapStatus indicating success or error.init
fn
PcapStatus init(uint opts, out string errBuf)Initializes the libpcap library.
This function should be called before any other libpcap functions in some environments, especially for newer libpcap versions (1.10+).
Parameters
opts | Initialization options (currently unused, pass 0). |
errBuf | Buffer to receive error information. |
Returns
A