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

Rémi Denis-Courmont remi at remlab.net
Tue Feb 18 23:05:04 CET 2014


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.

-- 
Реми Денис-Курмон
http://www.remlab.net/




More information about the vlc-devel mailing list