Packet Sniffer SDK DLL Edition

HNTcpManager :: Properties :: TcpMgrGetSessionsCount

 Previous Next

Returns the current number of TCP sessions that are being monitored.

Syntax:

DWORD __stdcall TcpMgrGetSessionsCount(HANDLE hTcpMgr);

Parameters:

hTcpMgr

[in] HNTcpManager object handle.

Return values:

If the function succeeds the return value will be the current number of TCP sessions that are being monitored.

Description:

Returned value may be limited by TcpMgrGetMaxSessionsCount property.

See also:HNTcpManager, TcpMgrGetMaxSessionsCount