Mailing Lists: Apple Mailing Lists

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

AutoResolve fails on multiple threads on Windows



I have an application which maintains multiple threads. When I do a DNSBrowserStartServiceSearch specifying kDNSBrowserFlagAutoResolve, I don't get the resolver callbacks for any other than the first thread. I can fix the problem by commenting out the kDNSResolverFlagOnlyIfUnique flag on line 981 of DNSServices.c, where the resolver is set up. Since kDSNResolverAutoReleaseByName is specified, the resolver should get released and will get released when the browser on that thread is terminated AFAIK. Does anyone know of another reason why I shouldn't do this?

Bruce
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.




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.