On OS X 10.3 and 10.4, we've recently noticed that if the hostname and the
sharing name (system prefs) do not have the same root (eg bob -> bob.local
vs terrence.my.domain.com) then names advertised by NSNetService will be
based on the sharing name (bob.local) while names derived from
NSProcessInfo hostName will be based on the Unix hostname (terrence...).
Is there a way to query the system for the name used by Bonjour?
--
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 (
Bonjour-dev@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/subscriber%40opensubscriber.com
This email sent to
subscriber@open...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.