Create a new UDP session over the network associated with the command.
- iOS 9.0+
- Mac Catalyst 13.0+Beta
The remote host and port of the session.
A UDP session that will connect over the network associated with the command.
The UDP session is started automatically. Use KVO to observe the session’s state property to be notified when the session is ready to send and receive UDP datagrams. For information about KVO see Key-Value Observing Programming Guide.