NWTcpConnectionState Enum

Definition

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

Cancelled 5

Indicates that the connection was canceled by the client.

Connected 3

Indicates that the connection is working.

Connecting 1

Indicates that a connection is being established.

Disconnected 4

Indicates that the connection was active, but was disconnected and that the developer should cancel the connection.

Invalid 0

Indicates that the connection is invalid.

Waiting 2

Indicates that better connection conditions are being waited for.

Applies to