true if at least the core symbols were successfully loaded.loadApi
fn
bool loadApi(string libName = null)Loads the libpcap library and resolves symbols.
If loadApi was called before, the previous library handle is released before loading the new one.
Parameters
libName | The name or path of the libpcap shared library (e.g. "libpcap.so"). If null, attempts to resolve symbols from the currently loaded process. |