• About TV's server
  • 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
  • HandleConnection function

    The HandleConnection function is called when the StartListening function returned a new client connection.

    Syntax

    int __stdcall HandleConnection(
    __in ProtocolSession *psess,
    __in ClientSession *sess
    );

    Parameters

    psess [in]sess [in]

    Return value

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

    Remarks

    If this function is exported by a transformer protocol this function should initialize the ClientSession and call function CallNextHandleConnection to make sure the HandleConnection of the processor protocol is called.

    Requirements

    Should be exported by Receiver
    , Transformer and Processor plugin.
    Minimum supported API 1.00
    Header tvsserver_base
    .h