Instance Property

viable

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

Declaration

@property(readonly, getter=isViable) BOOL viable;

Discussion

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

See Also

Monitoring the Session State

state

The current state of the UDP session

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software