SocketWrench .NET Edition

InternetServer.ServerStatus Enumeration

Specifies the status values that may be returned by the InternetServer class.

[Visual Basic]
Public Enum InternetServer.ServerStatus
[C#]
public enum InternetServer.ServerStatus

Remarks

The InternetServer class uses the ServerStatus enumeration to identify the current status of the server.

Members

Member Name Description
serverInactive The server is currently inactive. This status is returned when no server has been started, or after a server has been stopped.
serverStarted The server has initialized and is preparing to listen for client connections. This status is returned after the server thread has been started, but before the listening socket has been created.
serverListening The server is actively listening for incoming client connections. This status is returned after the server thread has been started and the listening socket has been created.
serverSuspended The server has been suspended and is no longer accepting client connections. Any incoming client connection is queued, and will be accepted when the server resumes normal operation.
serverShutdown The server has been stopped and is in the process of terminating all active client sessions.

Requirements

Namespace: SocketTools

Assembly: SocketTools.InternetServer (in SocketTools.InternetServer.dll)

See Also

SocketTools Namespace