Michael Rogers wrote:
> David Sowder wrote:
>
>> We probably should define a range. I'd say 0-9999 are reserved for the
>> node and 65000+ are reserved for experimental, "unregistered" use.
>> 10000-64999 are available to be "well known" types registered through a
>> request to a dev with commit access to the node's repo.
>>
>
> Instead of well-known numbers, how about allowing clients to register
> service names (on a first-come-first-served basis, automatically
> deregistered when the client disconnects), with a simple name->number
> lookup service for the remote client? In other words why not imitate
> Bonjour rather than IANA?
>
The name to number lookup service would have to be globally unique, at
least between all of the nodes that peer with each other directly and
use that client. The IANA style is required here for that reason
(unless I'm forgetting something about Bonjour).