That's a good point, I will change this.
I finally found what my problem was: it was the name that was blank (""),
thus the name error...Now I'm in a totally different mess: my unit tests fail with SIGSEV because something is going havoc during class destruction... I'm installing Kdevelop because gdb is a little hard to use in such weird multi threaded bugs... Thanks for the advice, Gaspard On Thu, May 7, 2009 at 3:34 PM, Robin Perkins < [email protected]> wrote: > > 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 > >
_______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
