Packet Sniffer SDK DLL Edition

HNLBAdapter :: Properties :: LbAdpGetCaptureUdp

 Previous Next

Return UDP traffic capture flag.

Syntax:

BOOL __stdcall LbAdpGetCaptureUdp(HANDLE hLbAdp);

Parameters:

hLbAdp

[in] HNLBAdapter object handle.

Return values:

If the function succeeds the return value will be the the value of the UDP traffic capture flag.

Description:

Use LbAdpGetCaptureUdp to set HNLBAdapter.CaptureUdp property value. If LbAdpGetCaptureUdp returns TRUE, then HNLBAdapter object registers new data transmitted by UDP for local OS (see LbAdpSetOnUdpPacketRecv). If LbAdpGetCaptureUdp returns FALSE, HNLBAdapter object ignores new data transmitted by UDP.

To change HNLBAdapter.CaptureUdp property value please use LbAdpSetCaptureUdp function. Default value of HNLBAdapter.CaptureUdp property is TRUE.

See also:HNLBAdapter, LbAdpSetCaptureUdp, LbAdpSetOnUdpPacketRecv