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 " unable to open notification pipe, address family not supported" 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> <<a href="mailto:jwillemsen@remedy.nl">jwillemsen@remedy.nl</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>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 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> <<a href="http://scoreboard.theaceorb.nl/">
http://scoreboard.theaceorb.nl/</a>> ***<br>*** Commercial service and support for ACE/TAO/CIAO ***<br>*** See <a href="http://www.theaceorb.nl/en/support.html">http://www.theaceorb.nl/en/support.html</a> ***
<br><br><br>________________________________<br><br> 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> Sent: Wednesday, August 01, 2007 10:08 AM<br> To: <a href="mailto:ace-users@cse.wustl.edu">ace-users@cse.wustl.edu</a><br> Subject: [ace-users] question on ACE_INET_Addr
<br><br><br> hi,<br> ACE VERSION: 5.5.8<br><br> HOST MACHINE and OPERATING SYSTEM: Windows XP<br> If on Windows based OS's, which version of WINSOCK do you<br> use?: winsock2
<br><br> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:<br> COMPILER NAME AND VERSION (AND PATCHLEVEL):<br><br> THE $ACE_ROOT/ace/config.h FILE [if you use a link to a<br>platform-
<br> specific file, simply state which one]: config-win32.h<br><br> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if<br>you<br> use a link to a platform-specific file, simply state which one
<br> (unless this isn't used in this case, e.g., with Microsoft<br>Visual<br> C++)]:<br><br> CONTENTS OF<br>$ACE_ROOT/bin/MakeProjectCreator/config/default.features<br> (used by MPC when you generate your own makefiles): ssl = 1,
<br>ipv6 = 1<br><br> AREA/CLASS/EXAMPLE AFFECTED:<br> [What example failed? What module failed to compile?]<br> none<br><br> DOES THE PROBLEM AFFECT:<br> COMPILATION? no
<br> LINKING?<br> On Unix systems, did you run make realclean first? no<br> EXECUTION? no<br> OTHER (please specify)? ( question at bottom )<br> [Please indicate whether ACE, your application, or both are
<br>affected.]<br><br> SYNOPSIS:<br> [Brief description of the problem]<br> none<br><br> DESCRIPTION:<br> after building ACE with ipv6 support SOCK_Acceptor failed to work<br>
<br><br> REPEAT BY:<br> [What you did to get the error; include test program or session<br> transcript if at all possible. ]<br><br> SAMPLE FIX/WORKAROUND:<br> [If available ]<br>
<br> here is what i am doing..<br><br> ACE_INET_Addr localaddr;<br> localaddr.set_port(portno);<br><br> SOCK_Acceptor acceptor;<br> acceptor.open(localaddr, ...);<br><br> every thing was working fine.. but when i recompiled ACE with ipv6
<br>support acceptor returns -1<br> 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> here is my question:<br> 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> 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> thankx in advance
<br><br> regards,<br> prem<br><br><br><br><br><br></blockquote></div><br>