[PATCH] inet_aton fallback support (Re: [MPlayer-dev-eng] Patches)

Alex Beregszaszi alex at galaktik.hu
Wed Aug 28 20:31:39 CEST 2002


Hi,

> > today i spend some time applying patches, but probably i've left out some.
> > Please tell which patches are waiting, thx.
> 
> This is a patch to allow network code to fallback on inet_aton
> when inet_pton is unavailable.  This is relevant for cygwin,
> but I do not know if other systems will benefit as well.
> If inet_pton is found by configure, then mplayer behaves
> exactly as always.  The limitation of falling back to inet_aton
> is that there would be no IPv6 support, but without this patch
> there would be no network support for such systems at all.
i've plans to implement ipv6 support. Are there other systems where inet_pton isn't
available (except cygwin)?
One way would be allow this only for __cygwin__ or later add !HAVE_IPV6

-
alex

-- 
Alex Beregszaszi  <alex at naxine.org>



More information about the MPlayer-dev-eng mailing list