• About TV's server
  • New in version 3.20
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • PrepareCloseListenSession function

    The PrepareCloseListenSession function should make the StartListening function return false.

    Syntax

    int __stdcall PrepareCloseListenSession(
    __in ProtocolSession *psess,
    __in ListenSession *lsess
    );

    Parameters

    psess [in]lsess [in]

    Return value

    If no error occurs the function returns True (one). If the function fails it will return False (zero).

    Remarks

    This function should not free every recource previously allocated by the BindToProtocolCallBack function, this should be done by the CloseListenSession function.

    Requirements

    Should be exported by Receiver plugin.
    Minimum supported API 1.00
    Header tvsserver_base.h