[Bonjour/Rendezvous] How to resolve a service?
[Bonjour/Rendezvous] How to resolve a service?
- Subject: [Bonjour/Rendezvous] How to resolve a service?
- From: Stephane <email@hidden>
- Date: Thu, 5 Apr 2007 14:12:05 +0200
I'm trying to look for services of a specific type and to display the
associated information: network address, port, TXT record, etc.
Thanks to the Apple sample code and documentation, I have a little
prototype working correctly in most cases.
The problematic cases are when the "name" (obtained through
[NSNetService name]) is not a machine but a unique ID or something
else. For instance, for the "_apple-sasl._tcp." type, the name is
something like a Hexa string.
In such as case, when - [NSNetService resolveWithTimeOut:] is called,
the resolution starts (confirmed by netServiceWillResolve:) but
returns nothing: neither a success nor a failure.
The resolution is supposed to be possible since the Bonjour Browser
application can do it.
The question is: how are you supposed to run the resolution in this
case?
(Mac OS X 10.4.9)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden