Queries a CFNetService for its target hosts.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
Network service to be queried.
The target host name of the machine providing the service or
NULL is of the service’s target host is not known. (The target host will not be known if it has not been resolved.)
This function is thread safe, but the target host name is not safe if the service is altered from another thread.