Packet Sniffer SDK DLL Edition

HNLBAdapter :: Methods :: LbAdpRemoveAllTcpPortFilters

 Previous Next

Remove all rules for tracking of re-created TCP sessions for local OS.

Syntax:

VOID __stdcall LbAdpRemoveAllTcpPortFilters(HANDLE hLbAdp);

Parameters:

hLbAdp

[in] HNLBAdapter object handle.

Description:

Use LbAdpRemoveAllTcpPortFilters to remove all rules for tracking of re-created TCP sessions for local OS set by LbAdpAddFilterTcpPort function.

Using of filtration rules for TCP connections allows to track only necessary ones, that dramatically increases the application performance and reliability.

If all rules are removed, but the flag HNLBAdapter.UseTcpPortFilters [Get/Set] is set to TRUE, any new TCP session will be ignored.
See also:HNLBAdapter, LbAdpRemoveFilterTcpPort, LbAdpAddFilterTcpPort