Called when a client connects to a service managed by Bonjour.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
The net service object that the client connected to.
A stream object for receiving data from the client.
A stream object for sending data to the client.
When you publish a service, if you set the
NSNet flag in the service options, the service object accepts connections on behalf of your app. Later, when a client connects to that service, the service object calls this method to provide the app with a pair of streams for communicating with that client.