CloseClientSession function
The CloseClientSession function will shutdown a clientsession.Syntax
int __stdcall CloseClientSession(
__in ProtocolSession *psess,
__in ClientSession *sess
);
Parameters
psess [in] A pointer to a ProtocolSession structure. This is a session assigned to a protocol at the moment it's loaded into the memory.
sess [in] 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.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Remarks
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.
Requirements
Should be exported by | Receiver plugin.
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|