HNTcpSession is used for defining and storing of TCP session properties:
- TCP session creation time;
- TCP session current status;
- Client IP address;
- Server IP address;
- Client port;
- Server port;
- Number of packets sent by client;
- Number of packets sent by server;
- The volume of data, sent by client;
- The volume of data, sent by server;
- The reason of TCP session closing.
HNTcpSession objects are created and deleted by HNTcpManager object.
Properties:
- ClientIP [Get]
- ClientPort [Get]
- CloseReason [Get]
- CreateTime [Get]
- LastPacketTime [Get]
- ServerIP [Get]
- ServerPort [Get]
- State [Get]
- UserData [Get/Set]
Methods