Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Standard format for specifying Human-Readable Name and domain?



Folks,

Our product has a command-line version which reads the environment for a host:port combination to talk to our server. I'm trying to rearrange it so users can put a HRN (Human-Readable Name) and a domain. I need some way of packing both those things into one string. Is there a standard way of doing this?

It would look something like this:

To use the traditional way of connecting, you'd specify:

  <hostname>:<port>   ("public.perforce.com:1666")

With Zeroconf, I'm proposing it would look like:

  <hrn>@<domain>   ("Perforce Public email@hidden")

If the domain wasn't specified, it would browse through all the local domains and through the enumerated domains as specified in the DNS. However, there could be a name conflict  (ie. BOTH "Perforce Public email@hidden" and "Perforce Public email@hidden" are discovered) in which case users would want to want specify a specific domain. That is the case I'm trying to cover.

So, is there a standard for specifying it? In lieu of <hrn>@<domain>, is there a better suggestion?

_ michael

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.