Düzenle

Aracılığıyla paylaş


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

Name Value Description
Invalid 0

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

Waiting 1

Indicates that the session is waiting for better connection conditions.

Preparing 2

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

Ready 3

Indicate that data may be written and read.

Failed 4

Indicates that none of the endpoints can be resolved.

Cancelled 5

Indicates that the session was cancelled.

Applies to