[avahi] Invalid service name error

Robin Perkins robin.perkins at internode.on.net
Thu May 7 06:34:01 PDT 2009

On 07/05/2009, at 7:10 AM, Gaspard Bucher wrote:

> Hi list !
> I am trying to port some code from dns-sd to avahi and I get an
> "Invalid service name" error...
> Any idea why a service name like "_oscit._udp" fails ?
> Since the project is open source, the code is visible at
> http://tinyurl.com/d4ypf5
> Thanks for any advice...
> Gaspard

Have you tried putting this in as a literal string [ "_oscit._udp"],  
rather than as a variable that you convert to a c string [master_- 
 >service_type_.c_str() ] ? Unless your using subtypes the service  
type is static in most cases.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/avahi/attachments/20090507/c05e2978/attachment.html 

More information about the avahi mailing list