Suspend Method  
 

Suspend accepting new client connections.

Syntax

object.Suspend

Parameters

None.

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.

Remarks

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