[FFmpeg-devel] [PATCH/RFC] Prefer getaddrinfo over gethostbyname

Martin Storsjö martin
Tue Jan 12 19:05:49 CET 2010


On Tue, 12 Jan 2010, Ronald S. Bultje wrote:

> Hi,
> 
> On Tue, Jan 12, 2010 at 12:46 PM, Martin Storsj? <martin at martin.st> wrote:
> > On Tue, 12 Jan 2010, Ronald S. Bultje wrote:
> >> On what systems is sockaddr_storage not defined?
> >
> > On none of the systems I normally use; a quick check shows that it should
> > be available on windows/mingw, mingw32ce (windows ce), linux, os x and
> > android.
> >
> > So in that sense, this is quite a small issue...
> 
> So why did we do this? :-). I'm tempted to remove it until some poor
> soul complains.

Ok, don't let me stop you, then. Having no definition at all at least is 
better than having an incorrect one, in that it is much easier to notice.

// Martin



More information about the ffmpeg-devel mailing list