The options that may be used with the Suspend method.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
| Member Name | Description | Value |
|---|---|---|
| Default | Specifies that the server should suspend accepting new connections. New incoming client connections will be queued and clients that have already established a connection to the server will remain connected. | 0 |
| Reject | Specifies that the server should suspend accepting new connections and reject any new client connections. Clients that have already established a connection to the server will remain connected. | 1 |
| Disconnect | Specifies that the server should suspend accepting new connections and disconnect all active clients that are currently connected to the server. If the Reject option is also specified, new client connections will be rejected by the server. | 2 |
| Wait | Specifies that the function should wait for the clients to disconnect from the server rather than return immediately to the caller. This option is only meaningful when used in conjunction with the Disconnect option. | 4 |
Namespace: SocketTools
Assembly: SocketTools.InternetServer (in SocketTools.InternetServer.dll)
Version: 12.0.3041.1380