Starts an Open Data Services server application.
int srv_run ( SRV_SERVER * server );
where
SRV_STOP for a stopped server. It returns FAIL if the server cannot be run.
Once started, the server waits for a client request, calls the appropriate event handler to process the request, and then continues waiting. The srv_run function does not return until the server has been stopped by an SRV_STOP event.
If a server has stopped, you must use srv_init to re-initialize it before you can restart it.
This entry | For information about |
---|---|
srv_config | Configuring an Open Data Services server application |
srv_init | Initializing an Open Data Services server application |