parsePcapFile (method)

Parses the specified pcap file.

Syntax

- (void)parsePcapFile:(NSString*)fileName;
public func parsePcapFile(_ fileName: String) throws -> Void

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 iOS Edition - Version 20.0 [Build 8307]