Just use CFURLCopyHostName() if all you want is the host name.
That gets me Mac-Mini._afpovertcp._tcp.local in this case.
I would prefer the computer name Mac-Mini for display in a list,
without the encoded networking scheme.
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