Skip to content

PCAP.Capture.Open

Andrew Lambert edited this page Nov 26, 2022 · 6 revisions

Method signature

 Shared Function Open(CaptureFile As FolderItem, SnapLength As Integer, Flags As Integer) As PCAP.Capture

Parameters

Name Type Comment
CaptureFile FolderItem The PCAP file to open
SnapLen Integer The maximum number of bytes per packet to read (Windows only)
Flags Integer The PCAP flags to open the capture with (Windows only)

Return value

A reference to a Capture object, or Nil on error.

Remarks

This method opens a .pcap dump file for reading. The SnapLen and Flags parameters are only supported on Windows.

See also

Clone this wiki locally