NWUdpSessionState Enum
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 UDP connection.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NWUdpSessionState
type NWUdpSessionState =
- Inheritance
-
NWUdpSessionState
- Attributes
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. |