State Property  
 

Return the current state of the server.

This property has been deprecated and should no longer be used in new applications.

Syntax

object.State

Remarks

The State property returns the current state of the server. The possible values returned by this property are:

Value Description
swServerInactive The server is currently inactive.
swServerStarted The server has initialized and is preparing to listen for client connections.
swServerListening The server is actively listening for incoming client connections.
swServerSuspended The server has been suspended and is no longer accepting client connections.
swServerShutdown The server has been stopped and is in the process of terminating all active client connections.

Data Type

Integer (Int32)

See Also