Packet Sniffer SDK DLL Edition

HNQueue :: Properties :: QueGetReceiveManyAtOnce

 Previous Next

Return flag of using OnPacketsRecv event handler.

Syntax:

BOOL __stdcall QueGetReceiveManyAtOnce(HANDLE hQue);

Parameters:

hQue

[in] HNQueue object handle.

Return values:

If the function succeeds the return value will be status of the OnPacketsRecv event handler using flag. Default value is FALSE.

Description:

ReceiveManyAtOnce flag was introduced for setting of using OnPacketsRecv event handler. To use OnPacketsRecv you should set ReceiveManyAtOnce flag in TRUE before QueStart function call, in this case internal thread of the packets queue will call OnPacketsRecv event handler instead of OnPacketRecv.

ReceiveManyAtOnce flag status changing during internal thread execution will not cause changing of OnPacketsRecv and/or OnPacketRecv event handlers.
See also:HNQueue, QueSetReceiveManyAtOnce, QueStart, OnPacketReceive