Stop Method  
 

Stop listening for new client connections and terminate all client sessions.

Syntax

object.Stop

Parameters

None.

Return Value

A value of zero is returned if the server was stopped, otherwise a non-zero error code is returned which indicates the cause of the failure.

Remarks

The Stop method instructs the server to stop accepting client connections, disconnects all active client connections and terminates the thread that is managing the server session.

See Also

Restart Method, Resume Method, Start Method, Suspend Method