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 protected] 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 protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
