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> &lt;<a href="mailto:mesnier_p@ociweb.com">mesnier_p@ociweb.com</a>&gt; 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>&gt; hi,<br>&gt;<br>&gt; thankx for the help i used ipv6_enabled to know if IPV6 is enabled or<br>&gt; not and use AF_INET or AF_INET6.<br>&gt;<br>&gt; but as the machine is running in a pure IPV4 env., when creating
<br>&gt; ACE_Proactor error messgae &quot; unable to open notification pipe, address<br>&gt; family not supported&quot; is being printed ..<br>&gt; by stepping in, found that notification pipe is being opened and the<br>&gt; address family is set to AF_INET6 by default (as ACE is compiled with
<br>&gt; IPV6 support).<br>&gt;<br><br>Right. When you prepare a build environment with &quot;ipv6=1&quot; 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>&gt; i think if ACE is compiled with IPV6 support it should still be able to
<br>&gt; work fine in IPV4 environment !<br>&gt; is there any workaround for this, i have to use the same ACE library on<br>&gt; all env. (IPV4, IPV6, IPV4-IPV6)<br>&gt;<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,&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.ociweb.com">
http://www.ociweb.com</a><br>Object Computing, Inc.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+01.314.579.0066<br></blockquote></div><br>