Editar

Compartilhar via


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

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.

Applies to