[FFmpeg-devel] [PATCH] gethostbyname_r

Ronald S. Bultje rsbultje
Wed Aug 15 07:54:23 CEST 2007


Hi,

On 8/2/07, Nicolas George <nicolas.george at normalesup.org> wrote:
>
> gethostbyname_r is not standard, and gethostbyname is obsolete. New
> applications are supposed to use getaddrinfo, which is thread-safe and
> protocol independent. And standard.


I had a look at how udp.c does this, and... Does that actually work?
s->dest_addr is filled in through getaddrinfo in ipv6_resolve_host, and
never used. I don't see how this would work. Reminds me that udp/rtsp
doesn't work for me, only tcp/rtsp. Does udp.c (not multicast! only unicast)
work for anyone in combination with ipv6?

Ronald




More information about the ffmpeg-devel mailing list