apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: [WIN32] IPV4/IPV6 differences
Date Mon, 11 Dec 2006 15:30:43 GMT
Colm MacCarthaigh wrote:
 >
 >> So you are saying that the same API behaves differently
 >> depending on the OS beneath. Then what's the purpose of the APR?
 >
 > No, the API behaves no differently at all. The API deals with you
 > wanting to listen on the ANY just fine, on windows and so on it will
 > return :: and 0.0.0.0 and if you listen on both it will work.
 >

Are you sure?
Pass the NULL on unix enabled IPV6 APR, it will accept the
127.0.0.1. The IPV6 enabled Win32/Win64 will always reject this.

So, if you think this is something legitimate, IMHO
it should at least be documented, on better called platform
specific.

Regards,
Mladen.

Mime
View raw message