BindToProtocol function
The BindToProtocol function will place the bind request in a que to be executed when all the protocols are loaded.Syntax
int __stdcall BindToProtocol(
__in ProtocolSession *psess,
__in BindStruct *bindTo,
__in char *name
);
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.
bindTo [in] A pointer to a BindStruct structure containing the first protocol in the bind chain.
name [in] A pointer to a null-terminated string conaining a name that will be assigned to the new created ListenSession.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Remarks
The protocol needs to set the flag PT_CONTROLPANEL with the function
SetProtocolInformation to be able to execute this function.
Requirements
Should be exported by | -
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|