Re: NSNetService
Re: NSNetService
- Subject: Re: NSNetService
- From: Roland King <email@hidden>
- Date: Tue, 29 Jan 2013 23:39:41 +0800
On 29 Jan, 2013, at 11:32 PM, Gerd Knops <email@hidden> wrote:
>
> On Jan 28, 2013, at 9:59 PM, email@hidden wrote:
>
>> All,
>>
>> I'm using NSNetService to publish a service on a network... and I cannot remove that service without restarting the computer.
>
> In my case I do absolutely nothing to stop the service, and when the app quits the service reliably disappears.
>
> Check out Bonjour Browser from here (no affiliation): http://www.tildesoft.com
>
> Gerd
>
I have to add a +1 here. Bonjour has been incredibly robust for me both at the NSNetService level and at the DNS-SD level, you turn off and on networks, apps background, you add interfaces and it just works. I've never seen 'stop' not work, releasing the service not work nor quitting the app not work.
Have a hunt back through both your publish and subscribe code, this really does normally just work.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden