skip to main content
Embedding Server in C/C++ Applications : C API : server_stop
 

server_stop

Call this function to stop the service. Calling this function causes the control from the server_start to be returned back to the thread that called it. The server_stop function places a stop command in the command queue of the service and returns a status code of 0.
int server_stop(void)
Table 240. Parameters for server_stop
Parameter
Type
Description
RETURN
int
0 - Service stop command has been placed in the queue