Stops a server and disconnects existing inbound connections to the server.
If multiple calls were made to DOFServer_Start and DOFServer_BeginStart for this server, this call merely decrements the reference count without stopping the server until the reference count reaches zero. If the server is not currently started, this call has no effect.
- Note
- If another DOFServer object has been allocated with an identical DOFServerConfig, and it is still running, the server will not actually stop and inbound connections are unaffected, even if the reference count has reached zero. The server actually stops only when the reference reaches zero and this is the only currently running server with an identical DOFServerConfig.
-
If any outbound DOFConnections use the DOFServer as a related server, the server may not stop until the connections using the server are disconnected.
- Parameters
-
self | The server to stop. This must not be NULL. |
- See Also
- DOFServer_Destroy
-
DOF_Stop