Packet Sniffer SDK DLL Edition

HNAdapter :: Properties :: AdpSetUseDontLoopBack

 Previous Next

Sets flag status of using DontLoopBack.

Syntax:

BOOL __stdcall AdpSetUseDontLoopBack(HANDLE hAdp, BOOL bUseDontLoopBack);

Parameters:

hAdp

[in] HNAdapter object handle.

bUseDontLoopBack

[in] The new value of the status flag of the DontLoopBack using.

Return values:

If the function succeeds the return value will be the bUseDontLoopBack parameter value.

Description:

Use UseDontLoopBack to set the status of the flag that specifies that packets sent by HNAdapter will not be received by the OnPacketReceive event handler (DontLoopBack is set to TRUE).

This function is available in Windows 2000 and higher.

See also:HNAdapter, AdpGetUseDontLoopBack, OnPacketReceive