Back to product page

Stop method


Stops the server and kills all connections.

Type

None

Syntax

  • Basic
object.Stop
The Stop(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSSHD.

Remarks

Stop method will immediately disconnect all connected users and stop accepting any new connections. Further more, Port that is used for listening will be freed and you can use it by some other service.

If you try to obtain list or snapshot of currently connected users at the time you shut down server, you should do it *before* you call Stop method, because it will delete list of all users at that time.

To start server again, call Start method.

Platforms

Windows