Instance Property

isViable

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

Declaration

var isViable: Bool { get }

Discussion

Evaluates to true if the session can read and write data, false otherwise. Use Key-Value Observing to watch this property.

See Also

Monitoring the Session State

var state: NWUDPSessionState

The current state of the UDP session