hi, <br><br>thankx for the help i used ipv6_enabled to know if IPV6 is enabled or not and use AF_INET or AF_INET6.<br><br>but as the machine is running in a pure IPV4 env., when creating ACE_Proactor error messgae &quot; unable to open notification pipe, address family not supported&quot; is being printed .. 
<br>by stepping in, found that notification pipe is being opened and the address family is set to AF_INET6 by default (as ACE is compiled with IPV6 support).<br><br>i think if ACE is compiled with IPV6 support it should still be able to work fine in IPV4 environment ! 
<br>is there any workaround for this, i have to use the same ACE library on all env. (IPV4, IPV6, IPV4-IPV6) <br><br>(i upgraded to ACE 5.5.10)<br><br>thankx in advance,<br>prem<br><br><div><span class="gmail_quote">On 8/1/07, 
<b class="gmail_sendername">Johnny Willemsen</b> &lt;<a href="mailto:jwillemsen@remedy.nl">jwillemsen@remedy.nl</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>Thanks for using the PRF form. ACE has some checks whether IPv6 is enabled<br>or not, this is in ACE::ipv6_enabled, try to see if this method works on<br>your platform. Independent of that, I would recommend you to upgrade to
<br>5.5.10 which has several improvements related to ipv6 support.<br><br>Regards,<br><br>Johnny Willemsen<br>Remedy IT<br>Postbus 101<br>2650 AC&nbsp;&nbsp;Berkel en Rodenrijs<br>The Netherlands<br><a href="http://www.theaceorb.nl">
www.theaceorb.nl</a> / <a href="http://www.remedy.nl">www.remedy.nl</a><br><br>*** Integrated compile and test statistics see<br><a href="http://scoreboard.theaceorb.nl">http://scoreboard.theaceorb.nl</a> &lt;<a href="http://scoreboard.theaceorb.nl/">
http://scoreboard.theaceorb.nl/</a>&gt;&nbsp;&nbsp;***<br>*** Commercial service and support for ACE/TAO/CIAO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ***<br>*** See <a href="http://www.theaceorb.nl/en/support.html">http://www.theaceorb.nl/en/support.html</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ***
<br><br><br>________________________________<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: <a href="mailto:ace-users-bounces@cse.wustl.edu">ace-users-bounces@cse.wustl.edu</a><br>[mailto:<a href="mailto:ace-users-bounces@cse.wustl.edu">ace-users-bounces@cse.wustl.edu
</a>] On Behalf Of Premkumar P<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent: Wednesday, August 01, 2007 10:08 AM<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: <a href="mailto:ace-users@cse.wustl.edu">ace-users@cse.wustl.edu</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject: [ace-users] question on ACE_INET_Addr
<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hi,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACE VERSION: 5.5.8<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HOST MACHINE and OPERATING SYSTEM: Windows XP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If on Windows based OS&#39;s, which version of WINSOCK do you<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use?: winsock2
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TARGET MACHINE and OPERATING SYSTEM, if different from HOST:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COMPILER NAME AND VERSION (AND PATCHLEVEL):<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THE $ACE_ROOT/ace/config.h FILE [if you use a link to a<br>platform-
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specific file, simply state which one]: config-win32.h<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if<br>you<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use a link to a platform-specific file, simply state which one
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(unless this isn&#39;t used in this case, e.g., with Microsoft<br>Visual<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C++)]:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONTENTS OF<br>$ACE_ROOT/bin/MakeProjectCreator/config/default.features<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(used by MPC when you generate your own makefiles): ssl = 1,
<br>ipv6 = 1<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AREA/CLASS/EXAMPLE AFFECTED:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[What example failed?&nbsp;&nbsp;What module failed to compile?]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; none<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DOES THE PROBLEM AFFECT:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COMPILATION? no
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LINKING?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Unix systems, did you run make realclean first? no<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EXECUTION? no<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OTHER (please specify)? ( question at bottom )<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Please indicate whether ACE, your application, or both are
<br>affected.]<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SYNOPSIS:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Brief description of the problem]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;none<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DESCRIPTION:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;after building ACE with ipv6 support SOCK_Acceptor failed to work<br>
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REPEAT BY:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[What you did to get the error; include test program or session<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transcript if at all possible.&nbsp;&nbsp;]<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAMPLE FIX/WORKAROUND:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[If available ]<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;here is what i am doing..<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ACE_INET_Addr localaddr;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localaddr.set_port(portno);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SOCK_Acceptor acceptor;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;acceptor.open(localaddr, ...);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;every thing was working fine.. but when i recompiled ACE with ipv6
<br>support acceptor returns -1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stepping in the code i found that acceptor is not able able to open<br>a socket because the sock type is set to AF_INET6 and the machine i am<br>running is not comfigured for ipv6
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;here is my question:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;it is an expected behaviour that ipv6 socket failed to open because<br>the machine is not configured for it. What should be done to make it work on<br>ipv4, ipv6 and ipv4-ipv6 environment.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From the code i can see specifying AF_INET will use ipv4 specific<br>storage and using AF_INET6 uses ipv6 storage, is it possible to use both<br>IPV4 and IPV6 address on the machine ??<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thankx in advance
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;regards,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prem<br><br><br><br><br><br></blockquote></div><br>