• 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
  • CloseClientSession function

    The CloseClientSession function will shutdown a clientsession.

    Syntax

    int __stdcall CloseClientSession(
    __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

    The Receiver protocol should shutdown the link with the client if this function is called. This will cause the function HandleConnection to return, this is were every protocol can clean there allocated memory and handles for the ClientSession.

    Requirements

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