Hi.

Wrong.
The PacketReceivePacket() will return either:
- when the timeout elapses
- when you have at last 16KB waiting

whatever comes first.

        fulvio


-----Original Message-----
From: Daniel Frimerman [mailto:[EMAIL PROTECTED]
Sent: venerd́ 11 luglio 2003 15.21
To: [EMAIL PROTECTED]
Subject: [WinPcap-users] Minimum data for copying kernel > user buffer


Hi, I just saw this in the winpcap manual:

The wpcap library includes a couple of system calls that can be used both to
set the timeout after which a read expires and the minimum amount of data
that can be transferred to the application. By default, the read timeout is
1 second, and the minimum amount of data copied between the kernel and the
application is 16K.

If I understood correctly, it means that the default settings are such that
I can't do PacketReceivePacket and read anything until there's at least 16K
of data on kernel?


Daniel




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to