BindToProtocolCallBack function
The BindToProtocolCallBack function need to initiate the ListenSession and call the function RequestToBindToNextProtocol when finished.Syntax
int __stdcall BindToProtocolCallBack(
__in ProtocolSession *psess,
__in ListenSession *lsess,
__in int flags
);
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.
lsess [in] A pointer to a ListenSession structure. This is a session assigned to a plugin at the moment a user defines a new connection.
flags [in]:BindToProtocolCallBack No flags here to define. This member might be used in the furture and therefore should be set to zero.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Requirements
Should be exported by | Receiver, Transformer and Processor plugin.
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|