apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject [WIN32] IPV4/IPV6 differences
Date Mon, 11 Dec 2006 13:58:04 GMT

On WIN32, APR by default comes with IPV6 disabled.
Enabling IPV6 brings in the completely different
behavior for NULL Listen address.
While on unixes regardless of the address being
NULL or the socket will always accept
the connection to
On Windows, if IPV6 is enabled the connection to will be enabled *only* if address is
In case it is NULL, it'll default to ::0 and all IPV4
connections will be rejected.

Now, this is completely platform dependent, and makes
the same config behaving differently depending on the OS.

I'm not sure what is the exact reason, but if I
make "" default when address is NULL for IPV6
enabled Win32/Win64, then it behaves like it behaves
on *nixes.

Any comments?


View raw message