Packet Sniffer SDK DLL Edition

HNLBAdapter :: Properties :: LbAdpSetCaptureUdp

 Previous Next

Set UDP traffic capture flag.

Syntax:

BOOL __stdcall LbAdpSetCaptureUdp(HANDLE hLbAdp, BOOL bCaptureUdp);

Parameters:

hLbAdp

[in] HNLBAdapter object handle.

bCaptureUdp

[in] New value of the TCP traffic capture flag.

Return values:

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

Description:

Use LbAdpSetCaptureUdp to change HNLBAdapter.CaptureUdp property value. If HNLBAdapter.CaptureUdp is set to TRUE, then HNLBAdapter object registers new data transmitted by UDP for local OS (see LbAdpSetOnConnect), if it is set to FALSE, HNLBAdapter object ignores new data transmitted by UDP. Default value of HNLBAdapter.CaptureUdp property is TRUE.

See also:HNLBAdapter, LbAdpGetCaptureUdp, LbAdpSetOnUdpPacketRecv