CloseClientSession functionThe CloseClientSession function will shutdown a clientsession.
int __stdcall CloseClientSession(
__in ProtocolSession *psess,
__in ClientSession *sess
A pointer to a ProtocolSession structure. This is a session assigned to a protocol at the moment it's loaded into the memory.
A pointer to a ClientSession structure. This is a session assigned to a new connection. This connection has been created by a type PT_RECEIVER protocol.
If no error occurs the function returns True (one). If the function fails it will return False (zero).
The Receiver protocol should shutdown the link with the client if this function is called. This will cause the function HandleConnection
to return, this is were every protocol can clean there allocated memory and handles for the ClientSession
|Should be exported by|| Receiver plugin.
|Minimum supported API|| 1.00