-
-
Notifications
You must be signed in to change notification settings - Fork 1
PCAP.OpenCapture
Andrew Lambert edited this page Nov 26, 2022
·
4 revisions
PCAP.OpenCapture
Protected Function OpenCapture(CaptureFile As FolderItem, SnapLength As Integer = 65536, Flags As UInt32 = 0) As PCAP.Capture| Name | Type | Comment |
|---|---|---|
| CaptureFile | FolderItem | A PCAP file to read packets from |
| SnapLength | Integer | Optional. If specified, the maximum number of bytes to read of each packet |
| Flags | Integer | Optional. If specified, the capture flags |
A reference to a Capture object, or Nil on error.
This method opens a PCAP file as though it were a network interface.
Wiki home | Project page | Bugs | Become a sponsor
Text, images, and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.