Restart the server, terminating all active client connections
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.
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