Packet Sniffer SDK DLL Edition

HNLBAdapter :: Properties :: LbAdpGetCaptureTcp

 Previous Next

Return TCP traffic capture flag.

Syntax:

BOOL __stdcall LbAdpGetCaptureTcp(HANDLE hLbAdp);

Parameters:

hLbAdp

[in] HNLBAdapter object handle.

Return values:

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

Description:

Use LbAdpGetCaptureTcp to get HNLBAdapter.CaptureTcp property value. If LbAdpGetCaptureTcp returns TRUE, then HNLBAdapter object registers new TCP sessions for local OS (see LbAdpSetOnConnect). If LbAdpGetCaptureTcp returns FALSE, HNLBAdapter object ignores new TCP sessions.

To change HNLBAdapter.CaptureTcp property value please use LbAdpSetCaptureTcp function. Default value of HNLBAdapter.CaptureTcp property is TRUE.

See also:HNLBAdapter, LbAdpSetCaptureTcp, LbAdpSetOnConnect