Use TcpMgrDeleteSession to delete TCP session before it completes (RFC 793). In this case event
handlers OnPacketReturn will be called for each
packet belonging to this session and awaiting for assembling in the
HNTcpManager object. Also event handlers
OnSessionClose and
OnSessionDelete will be called one
after another for this session.
Unlike the TcpMgrCloseSession function, this function
unconditionally deletes the session (the value that you may return in the pbNeed parameter of the
OnSessionClose event handler, will be ignored and set to
TRUE).