Suspend Method  

Suspend accepting new client connections.





Return Value

A value of zero is returned if the server has suspended accepting new connections, otherwise a non-zero error code is returned which indicates the cause of the failure.


The Suspend method instructs the server to suspend accepting new client connections. All subsequent attempts to connect to the server will be rejected by the server. To resume accepting new client connections, call the Resume method. This method will not affect those clients that have already established a connection with the server before the Suspend method was called.

See Also

Restart Method, Resume Method, Start Method, Stop Method