[Rendezvous] How to obtain DNS-SD TXT Record from NSNetService?
[Rendezvous] How to obtain DNS-SD TXT Record from NSNetService?
- Subject: [Rendezvous] How to obtain DNS-SD TXT Record from NSNetService?
- From: James Chen <email@hidden>
- Date: Wed, 4 Feb 2004 10:21:58 +0800
Hi,
Say I'd like to browse Rendezvous-supported web.
So I use NSNetServiceBrowser to search for all net service with type
"_http._tcp".
I can obtain the ip and port of the web by resolving the NSNetService I
found.
And I also need the path of the web stored in the TXT record that
mentioned in the document
http://developer.apple.com/documentation/Cocoa/Conceptual/NetServices/
index.html#//apple_ref/doc/uid/10000119i.
So far I can't find a way to obtain the TXT record from NSNetService.
Further more, I'd also like to advertise the web myself (another one
has post the issue but no one resolve). So I need a way to store the
path information in the TXT record of the net service I publish.
Did anyone do these before?
Appreciate your helps,
James
------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.