apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <c...@stdlib.net>
Subject Re: [WIN32] IPV4/IPV6 differences
Date Mon, 11 Dec 2006 15:46:12 GMT
On Mon, Dec 11, 2006 at 04:30:43PM +0100, Mladen Turk wrote:
> 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.

apr_sockaddr_t is a linked list, and you have to listen() on every
address in the list.

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net

Mime
View raw message