Packet Sniffer SDK DLL Edition

HNTcpSession :: Properties :: TcpSesGetState

 Previous Next

Returns the TCP session state.

Syntax:

DWORD __stdcall TcpSesGetState(HANDLE hTcpSes);

Parameters:

hTcpSes

[in] HNTcpSession object handle.

Return values:

If the function succeeds the return value will be the TCP session state defined in the HNTcpState enumeration.

Description:

Use TcpSesGetState to obtain the TCP session state according to values defined in the HNTcpState enumeration.

See also:HNTcpSession, HNTcpState