Enumeration

NWUDPSessionState

No overview available.

Declaration

typedef enum NWUDPSessionState : NSInteger {
    ...
} NWUDPSessionState;

Topics

Session States

NWUDPSessionStateInvalid

The session is in an invalid or uninitialized state.

NWUDPSessionStateWaiting

The session is waiting for better conditions before attempting to make the session ready.

NWUDPSessionStatePreparing

The remote endpoint is being resolved.

NWUDPSessionStateReady

The session is ready for reading and writing data.

NWUDPSessionStateFailed

None of the currently resolved endpoints can be used at this time, either due to problems with the path or the client rejecting the endpoints.

NWUDPSessionStateCancelled

The session has been cancelled by the client calling cancel.

See Also

Monitoring the Session State

state

The current state of the UDP session

viable

The viability of a UDP session represents whether or not data can be transferred