ParsePcapFile Method

Parses the specified pcap file.

Object Oriented Interface

public function doParsePcapFile($filename);

Procedural Interface

ipworks_ipmonitor_do_parsepcapfile($res, $filename);

Remarks

This method parses the specified pcap (packet capture) file and fires events as if the traffic were received directly.

The class supports both the standard pcap and the newer pcap-ng file formats used by a variety of popular network capture tools. When calling this method the file will be parsed and the IPPacket event will fire for each parsed packet.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]