Re: NSNetService
Re: NSNetService
- Subject: Re: NSNetService
- From: John Pannell <email@hidden>
- Date: Tue, 29 Jan 2013 08:19:43 -0700
Hmmm... are you sure you have kept a strong reference/pointer to your net service? I have production code that uses [service stop] and I can see the broadcasting service disappear immediately from other net service browsing peers. If your reference is nil, however, the stop message could fall on deaf ears and your service would keep broadcasting...
Hope this helps!
John
On Jan 28, 2013, at 8: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. The only thing I've found in any list or discussion board is [myNetService stop], and this does not work... the service stays around as long as the computer has not been rebooted. How do I remove an NSNetService properly?
>
> Thanks,
> Eric
> ______________________________________________
_______________________________________________
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