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: Error with subtype registration



It was my understanding that though it is described in the dns-sd
spec/draft, mDNSResponder doesn't support subtypes...Using an example
specified in the draft, you would be able to run a service with type
of "_anon._ftp._tcp", but you'll get errors from mDNSResponder.

Instead, you can register a service with a type of "_ftp._tcp", and
describe your subtype using TXT records...see
http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt, section 6.4
for some example records.

On 3/6/07, Garikipati, Chendra <email@hidden> wrote:


Hi,

 I think this question is for somebody at Apple.
 I have compiled the mDNSResponder-107.6 to use under VxWorks 5.4. Every
thing I have tested so far works fine except when I try to publish a service
with a subtype. The service is of the form "_<name>._tcp,_<subtype>". I also
tried without the underscore before the subtype. When I looked at the source
code for DNSServiceRegister() in file dnssd-clientshim.c, I noticed the
following assignment " AuthRecord *SubTypes = mDNSNULL; mDNSu32 NumSubTypes
= 0; " and that never changed before calling 'mDNS_RegisterService()'. It
appers like one can never register subtypes?. On Windows however using
dssd.dll, I could register subtypes. I am perhaps missing some thing here.
Can somebody please clarify this.

 Thanks for your help.
 ________

 Carl Zeiss Meditec Inc.
 Research and Development
 Staff Software Engineer
 5160 Hacienda Drive
 Dublin, CA 94568

 C h e n d r a G a r i k i p a t i

 Phone: +1 925.557.4458
 Fax: +1 925.557.4615
 mailto:email@hidden
 http://www.meditec.zeiss.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

_______________________________________________
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: 
 >Error with subtype registration (From: "Garikipati, Chendra" <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.