No overview available.


enum NWUDPSessionState : Int


Enumeration Cases

case invalid

The session is in an invalid or uninitialized state.

case waiting

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

case preparing

The remote endpoint is being resolved.

case ready

The session is ready for reading and writing data.

case failed

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.

case cancelled

The session has been cancelled by the client calling cancel.

See Also

Monitoring the Session State

var state: NWUDPSessionState

The current state of the UDP session

var isViable: Bool

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