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.

Rob
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to