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

    The SendFile32 function will send a file to the client. Use syntax SendFile in x64.

    Syntax

    int __stdcall SendFile32(
    __in ProtocolSession *psess,
    __in ClientSession *sess,
    __in void *file,
    __in int bufferSize,
    __in long long *start,
    __in long long *size,
    __in int timeout
    );

    Parameters

    psess [in]sess [in]file [in]bufferSize [in]start [in]size [in]timeout [in]

    Return value

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

    Requirements

    Should be exported by -
    Minimum supported API 1.00
    Header tvsserver_base
    .h Library(x86) tvs_server_http_protocol
    _x86.lib Library(x64) tvs_server_http_protocol
    _x64.lib DLL(x86) tvs_server_http_protocol
    _x86.DLL DLL(x64) tvs_server_http_protocol
    _x64.DLL