Primary entry point.
create() – two-stage configuration
openLive() – one-shot live capture
openOffline() – file reading
openDead() – filter compilation
Example with ProtocolStack:
NetPcap pcap = NetPcap.openOffline("file.pcap", stack);
Last updated 1 month ago