Enumeration Case

NWUDPSessionState.invalid

The session is in an invalid or uninitialized state.

Declaration

case invalid = 0

See Also

Session States

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.