hi, <br>thankx for the reply <br>i found ACE_USES_IPV4_IPV6_MIGRATION being used in ACE_INET_Addr to guess if ipv6 works or not and then set the type properly will this help ?? <br><br>regards,<br>Prem<br><br><div><span class="gmail_quote">
On 8/2/07, <b class="gmail_sendername">Phil Mesnier</b> <<a href="mailto:mesnier_p@ociweb.com">mesnier_p@ociweb.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Premkumar P wrote:<br>> hi,<br>><br>> thankx for the help i used ipv6_enabled to know if IPV6 is enabled or<br>> not and use AF_INET or AF_INET6.<br>><br>> but as the machine is running in a pure IPV4 env., when creating
<br>> ACE_Proactor error messgae " unable to open notification pipe, address<br>> family not supported" is being printed ..<br>> by stepping in, found that notification pipe is being opened and the<br>> address family is set to AF_INET6 by default (as ACE is compiled with
<br>> IPV6 support).<br>><br><br>Right. When you prepare a build environment with "ipv6=1" in<br>default.features a compiler macro, ACE_HAS_IPV6, is defined. This in<br>turn causes ACE to make assumptions about the availability of that
<br>feature. In some cases a fallback to IPv4 occurs if an IPv6 based<br>operation fails, but as you have learned, we are not 100% there yet.<br><br>> i think if ACE is compiled with IPV6 support it should still be able to
<br>> work fine in IPV4 environment !<br>> is there any workaround for this, i have to use the same ACE library on<br>> all env. (IPV4, IPV6, IPV4-IPV6)<br>><br><br>It would be great if you could contribute a patch to make this happen,
<br>or to sponsor one of the several commercial support providers to improve<br>this support. See<br><a href="http://www.cs.wustl.edu/~schmidt/commercial-support.html">http://www.cs.wustl.edu/~schmidt/commercial-support.html
</a> for the list.<br><br>Alternatively, you could build an IPv4-only ace lib for deployment on<br>hosts that lack IPv6 support.<br><br>Regards,<br>Phil<br><br>--<br>Phil Mesnier<br>Principal Software Engineer, <a href="http://www.ociweb.com">
http://www.ociweb.com</a><br>Object Computing, Inc. +01.314.579.0066<br></blockquote></div><br>