Rendezvous Name
Rendezvous Name
- Subject: Rendezvous Name
- From: Mike Cohen <email@hidden>
- Date: Fri, 11 Apr 2003 13:30:03 -0400
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
http://www.macmegasite.com/ *
http://www.mc-development.com/ *
http://www.worldbeatplanet.com/
Music is the weapon of the future - Fela
_______________________________________________
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.