Packet Sniffer SDK DLL Edition

Constants Enumerations :: HNTcpState

 Previous Next

HNTcpState contains the constants indicating the state of the TCP session.

Syntax:

const tsCreated     = 0;
const tsEstablished = 1; 
const tsClosed      = 2;
enum HNTcpState
{
   tsCreated     = 0, 
   tsEstablished = 1, 
   tsClosed      = 2  
};

Values:

tsCreated

TCP session was registered ( HNTcpSession object was created).

tsEstablished

TCP connection is established.

tsClosed

TCP session tracking completed ( HNTcpSession object was destroyed).

See also:HNTcpManager, HNTcpSession, OnSessionCreate, OnSessionConnect, OnSessionClose, TcpSesGetState