Enumeration

NWUDPSessionState

No overview available.

Declaration

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

Topics

Enumeration Cases

NWUDPSessionStateCancelled

The session has been cancelled by the client calling cancel.

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.

NWUDPSessionStateInvalid

The session is in an invalid or uninitialized state.

NWUDPSessionStatePreparing

The remote endpoint is being resolved.

NWUDPSessionStateReady

The session is ready for reading and writing data.

NWUDPSessionStateWaiting

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

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