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: iChat Rendezvous Protocol



On Jan 31, 2004, at 11:13 AM, Marc Krochmal wrote:

One important thing to know is that "port.p2pj" is deprecated and is no longer being used. You should not depend on this key being there in future versions. The way you determine the port number is by using the SRV record, not the TXT record. So use the standard Resolve API to discover the port to connect to.

Also, "version" is deprecated as well and it will be disappearing in future versions. The replacement key for "version" is "txtvers" which is the standard DNS-SD method for versioning the TXT record keys. Currently it will always be 1, but you should add a check in your code to require that "txtvers=1".

What Marc said. "port.p2pj" and "version" are only put there for compatibility with the iChat AV public beta, which has now expired, so you can bet that future iChats won't have them.


Also, note that the DNS-SD specs say that the "txtvers" property MUST come first in the list.

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