NWTcpConnectionState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates states that can be encountered while establishing a TCP connection.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NWTcpConnectionState
type NWTcpConnectionState =
- Inheritance
-
NWTcpConnectionState
- Attributes
Fields
Name | Value | Description |
---|---|---|
Invalid | 0 | Indicates that the connection is invalid. |
Connecting | 1 | Indicates that a connection is being established. |
Waiting | 2 | Indicates that better connection conditions are being waited for. |
Connected | 3 | Indicates that the connection is working. |
Disconnected | 4 | Indicates that the connection was active, but was disconnected and that the developer should cancel the connection. |
Cancelled | 5 | Indicates that the connection was canceled by the client. |