agnat/node_mdns — pull request #48 by ronkorving (2012-11-29 09:14:05+00:00)
Title: Fixed incorrect error message

Service names that were too long were reported as "more than 14 characters"
when they had more than 15. I believe the correct length is max 15, so I've
changed the error text to 15. The Apple docs confirm that 15 is the right
number.

From http://developer.apple.com/library/mac/#documentation/Networking/Reference/DNSServiceDiscovery_CRef/Reference/reference.html

> The service type followed by the protocol, separated by a dot (e.g.
> "_ftp._tcp"). The service type must be an underscore, followed by 1-15
> characters, which may be letters, digits, or hyphens.