NWUdpSessionState Enum

Definition

Enumerates states that can be encountered while establishing a UDP connection.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NWUdpSessionState
type NWUdpSessionState = 
Inheritance
NWUdpSessionState
Attributes

Fields

Cancelled 5

Indicates that the session was cancelled.

Failed 4

Indicates that none of the endpoints can be resolved.

Invalid 0

Indicates that the session is invalid or hasn't been initialized.

Preparing 2

Indicates that the session is attempting to resolve a remote endpoint.

Ready 3

Indicate that data may be written and read.

Waiting 1

Indicates that the session is waiting for better connection conditions.

Applies to