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: CFNetServiceResolve - callback never gets called




On Jun 17, 2005, at 9:46 AM, Marc Krochmal wrote:

Hi Ken,

What is kDomainStr defined as? If it's defined as empty string, then that's your problem. You need to pass in the actual domain that was returned in your browse callback when you originally discovered the service. Much of the time, the domain will be "local.", but now that we have wide-area support, it could be anything, so you should not hard code the domain that you pass in to your resolve, and should always use the actual domain of the discovered service.

Best Regards,
-Marc


Okay, yup, that's obviously it then. Thanks a bunch Marc!

Ken

--
Ken Worley, Software Engineer, Tiberius, Inc.
http://www.worleyphoto.com


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

This email sent to email@hidden
References: 
 >CFNetServiceResolve - callback never gets called (From: Ken Worley <email@hidden>)
 >Re: CFNetServiceResolve - callback never gets called (From: Marc Krochmal <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.