StartListening function
The StartListening function should start listening and return if a client is connected.Syntax
int __stdcall StartListening(
__in ProtocolSession *psess,
__in ListenSession *lsess,
__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.
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.
sess [in] A pointer to a ClientSession structure. This is a session assigned to a new connection if StartListening returns true.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Remarks
The data member of
ListenSession is copied to the data member of
ClientSession before this function is called.
Requirements
Should be exported by | Receiver plugin.
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|