hi,<br>&nbsp;&nbsp; ACE VERSION: 5.5.8<br><br>&nbsp;&nbsp;&nbsp; HOST MACHINE and OPERATING SYSTEM: Windows XP<br>&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; use?: winsock2<br><br>&nbsp;&nbsp;&nbsp; TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
<br>&nbsp;&nbsp;&nbsp; COMPILER NAME AND VERSION (AND PATCHLEVEL):<br><br>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-<br>&nbsp;&nbsp;&nbsp; specific file, simply state which one]: config-win32.h<br><br>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
<br>&nbsp;&nbsp;&nbsp; use a link to a platform-specific file, simply state which one<br>&nbsp;&nbsp;&nbsp; (unless this isn&#39;t used in this case, e.g., with Microsoft Visual<br>&nbsp;&nbsp;&nbsp; C++)]: <br><br>&nbsp;&nbsp;&nbsp; CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
<br>&nbsp;&nbsp;&nbsp; (used by MPC when you generate your own makefiles): ssl = 1, ipv6 = 1<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; AREA/CLASS/EXAMPLE AFFECTED:<br>[What example failed?&nbsp; What module failed to compile?]<br>&nbsp;none<br><br>&nbsp;&nbsp;&nbsp; DOES THE PROBLEM AFFECT:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMPILATION? no <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LINKING?<br>&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; EXECUTION? no<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHER (please specify)? ( question at bottom )<br>[Please indicate whether ACE, your application, or both are affected.]
<br><br>&nbsp;&nbsp;&nbsp; SYNOPSIS:<br>[Brief description of the problem]<br>&nbsp; none<br><br>&nbsp;&nbsp;&nbsp; DESCRIPTION:<br>&nbsp; after building ACE with ipv6 support SOCK_Acceptor failed to work<br>&nbsp; <br><br>&nbsp;&nbsp;&nbsp; REPEAT BY:<br>[What you did to get the error; include test program or session
<br>transcript if at all possible.&nbsp; ]<br><br>&nbsp;&nbsp;&nbsp; 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 support acceptor returns -1<br>stepping in the code i found that acceptor is not able able to open a socket because the sock type is set to AF_INET6 and the machine i am 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 the machine is not configured for it. What should be done to make it work on ipv4, ipv6 and ipv4-ipv6 environment.<br>From the code i can see specifying AF_INET will use ipv4 specific storage and using AF_INET6 uses ipv6 storage, is it possible to use both IPV4 and IPV6 address on the machine ??
<br><br>thankx in advance<br><br>regards,<br>prem<br><br><br>