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.
