Function TRTSERVER_ServerOptionsSetExitTimeout

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerOptionsSetExitTimeout(TRTSERVER_ServerOptions *options, unsigned int timeout)

Set the exit timeout, in seconds, for the server in a server options.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • timeout: The exit timeout, in seconds.