Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bonjour] Any mechanism to deal with Aurevoir and re-bonjour?



Hi Stephane,

A few things you might check...

1) You have set a delegate for the NSNetServiceBrowser instance you have created.
2) The delegate you have set indeed implements the delegate method with the correct method signature.
2) You have done a search for services using the instance created and have not sent the stop message to the instance.
3) Your code is in a run-loop.


Other than that I can't think of why it might not be working. I am using it in code and works wonderfully.

Good Luck,
Michael

On Feb 20, 2008, at 10:35 AM, Stephane Sudre wrote:

I would have thought this could be one of the purpose of the netServiceBrowser:didRemoveService:moreComing: but apparently, it's not.

This could be worked around by polling but I don't think this is a good solution (and I don't want to deal with hostnames if possible).

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >[Bonjour] Any mechanism to deal with Aurevoir and re-bonjour? (From: Stephane Sudre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.