Re: Rendezvous Name
Re: Rendezvous Name
- Subject: Re: Rendezvous Name
- From: Allan Nathanson <email@hidden>
- Date: Fri, 11 Apr 2003 13:41:00 -0400
From <SystemConfiguration/SCDynamicStoreCopySpecific.h>
SCDynamicStoreCopyLocalHostName()
- Allan
On Friday, April 11, 2003, at 1:30 PM, Mike Cohen wrote:
What's the correct way to obtain the Rendezvous host name for a
computer?
I was calling sysctl with KERN_HOSTNAME, which is equivalent to the
'hostname' command. That returns the proper name on all of my
computers and for most other people I've had try it. However on one
particular site it returns completely bogus host names. We really want
it to return a name like "Mike-Cohens-Powerbook.local".
I found that I'm able to get the "human" computer name by calling
CSCopyMachineName. Is there something similar for the Rendezvous host
name, or any other simple way?
--
Mike Cohen
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.