-
-
Notifications
You must be signed in to change notification settings - Fork 1
PCAP.Capture.MinMemoryToCopy
Dim MinMemoryToCopy As IntegerChanges the minimum amount of data in the driver's kernel-mode buffer needed to make ReadNext return a packet. If the buffer is large then the driver must wait for the arrival of several packets before copying the data to the user-mode app. This guarantees a low number of system calls (i.e. low processor usage) and is a good setting for background services and daemons. On the other hand if the buffer is small then the driver will copy the packets as soon as the user-mode app is ready to receive them. This is useful for GUI applications that need the best responsiveness from the driver.
The default value is 16000 bytes, which is a reasonable middle ground.
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.