OpenDOF Project
boolean DOFServer_Restart ( DOFServer  self,
uint32  timeout,
DOFException pException 
)

Causes the Server to become Started again, if possible.

If the Server is already started, then this call is satisfied immediately. This call should only be used when a successfully started server was terminated but the server is still desired (DOFServer_Stop has not yet been called).

Note
This call is synchronous, and waits for the Server to be established (or fail) before returning control to the caller.
Parameters
selfThe Server. This must not be NULL.
timeoutThe maximum time to wait for the connection to be established (in milliseconds).
[out]pExceptionAn Exception. If pException is NULL, no exception is reported. Otherwise, the output is either a DOFException, or NULL to indicate no exception occurred. DOFException_Destroy must be called to destroy the returned DOFException, if any.
Return values
TRUEIf the server restarted.
Exceptions
FALSEIf the server failed to restart. If an exception was used it will give more detail of failure.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22