Restart Method

Restart the server, terminating all active client connections

Syntax

object.Restart

Remarks

The Restart method terminates all active client connections, recreates a new listening socket bound to the same address and port number, and then resumes accepting new client connections.

Return Value

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

See Also

State Property, Resume Method, Start Method, Stop Method, Suspend Method


Copyright © 2010 Catalyst Development Corporation. All rights reserved.