[ace-users] question on ACE_INET_Addr

Premkumar P kumaran.prem at gmail.com
Thu Aug 2 14:13:13 CDT 2007


Hi all,
The fix solves the problem that i was facing.

Phil : yes that is right ACE_Pipe::open is where i was place where i was
getting the problem.

regards,
prem

On 8/3/07, Phil Mesnier <mesnier_p at ociweb.com> wrote:
>
> Steve Huston wrote:
> > Hi folks,
> >
> > Phil, your patch looks correct - as long as it works for Premkumar ;-)
> >
>
> Thanks!
>
> > I think, if I've understood this correctly, that the issue arose
> > because Premkumar built on a system containing all the IPv6 support
> > and ran on a different system that does not have IPv6 support. Or, at
> > least, one that has the support there but no IPv6 configured, so it's
> > essentially an IPv4 box.
> >
> > -Steve
>
> That is my understanding as well.
>
> From Prem's description of the problem, it looks like the ACE_INET_Addr
> in question is the one initialized in ACE_Pipe::open(), with:
>
>    ACE_INET_Addr local_any  (static_cast<u_short> (0), ACE_LOCALHOST);
>
> Apparently this yielded an IPv6 local_any which was then rejected by the
> SOCK_Acceptor.
>
> -Phil
>
> --
> Phil Mesnier
> Principal Software Engineer,    http://www.ociweb.com
> Object Computing, Inc.          +01.314.579.0066
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070803/7d0ecc66/attachment.htm


More information about the Ace-users mailing list