[vlc-devel] Network functions for use in a module

Jean-Baptiste Kempf jb at videolan.org
Wed Feb 19 12:45:08 CET 2014


On 19 Feb, Rémi Denis-Courmont wrote :
> Le mercredi 19 février 2014, 00:01:39 Rémi Denis-Courmont a écrit :
> > > For a DNS request, I'll likely nee to roll my own?
> > 
> > So far VLC only makes "normal" A/AAAA queries, using getaddrinfo(). But I
> > infer you want another RR type? In that case, I would advise trying
> > res_search() from <resolv.h> but it might be cumbersome. Otherwise use a
> > dedicated DNS library, like c-ares.
> 
> On second thought, you probably meant the DNS SD protocol. VLC currently uses 
> (lib)avahi-client for that purpose.

Is that even tested/working?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list