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: Panther and protocolSpecificInformation




Marc Krochmal wrote:

TXTRecord is only available on Tiger?


The DNS-SD Java stuff has its own implementation of TXTRecord which is available on 10.3.9.

Speaking of which, you've also discovered something that I forgot to announce on the list. Most people think that the DNS-SD Java API was first introduced with Mac OS X Tiger and Bonjour for Windows. However, we managed to sneak it into 10.3.9, which means Java developers can also use Bonjour on Panther.

I don't suppose there's a category for NSNetService around that would allow Cocoa developers on 10.3.9 access to the TXTRecord routines?


I'm basically wanting an implementation of:

+ (NSData *)dataFromTXTRecordDictionary:(NSDictionary *)txtDictionary
+ (NSDictionary *)dictionaryFromTXTRecordData:(NSData *)txtData
- (BOOL)setTXTRecordData:(NSData *)recordData
- (NSData *)TXTRecordData

and perhaps support for

- netService:didUpdateTXTRecordData:

that I can compile (or just link) into a 10.3.9 application.

As an alternative, if I build my own TXT parsing code (or copy the stuff from mDNSResponder) will it 'just work' if I integrate it using protocolSpecificInformation, or does that use a completely different format? For my current project, I need interoperability with non-NSNetService code.

Thanks

--
Andrew White

--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
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


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.