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: AutoResolve fails on multiple threads on Windows



Marc Krochmal wrote:

Hi Bruce,

  Thanks for the reply.  In my case, I do need to resolve every service
I discover, since I have a higher level internal discovery procedure
which is protocol independent (works on TCP, bluetooth, IR, USB, SIO,
X10, tin cans ;-) , etc.)  I've been using this API for the last year,
and with minor exceptions, it has worked well (BTW, is the endian swap
on the port number in the latest release part of an effort to discourage
use of this API?).


I'm not aware of any recent changes to the DNSService.c stuff.

This happened when I installed 58.8 - I had been using 58.6. The port number which appeared in the resolver callback was byteswapped from what I registered. I'm not sure where the change occurred.


I am also using the same interface in PocketPC.
Does your comment imply that dns_sd doesn't work on CE?


dns_sd.h is currently not supported on CE, although we would consider supporting it in the future.


Anyway, I
hesitate to change and add complexity to my app if I don't need to.
That being said, one of my next projects is to get this working under
PalmOS 5, which would be my first non-windows use of OpenTalk.


What's OpenTalk?


see:
http://www.appleinsider.com/article.php?id=559

Perhaps
this is a good opportunity to make the change.  Do you know of anyone
working on such a port?   Which API docs should I be looking at?  I have
to admit I find the multiple sets of docs confusing...
Bruce


Yes, there's some confusion in terms of all the different APIs that have existed on Windows. Our long term goal is to port dns_sd.h to as many platforms as possible. It should be possible to embed the current mDNSCore code into your application and then have it export the dns_sd.h API without having a complete SystemService with IPC. That would probably be the right solution.

Best Regards,

-Marc
_______________________________________________
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.


References: 
 >AutoResolve fails on multiple threads on Windows (From: Bruce <email@hidden>)
 >Re: AutoResolve fails on multiple threads on Windows (From: Marc Krochmal <email@hidden>)
 >Re: AutoResolve fails on multiple threads on Windows (From: Bruce Bernstein <email@hidden>)
 >Re: AutoResolve fails on multiple threads on Windows (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.