On Fri, Jan 21, 2011 at 4:08 PM, Max Malmgren <[email protected]> wrote:
> Hi! See below for my call stack information at the moment of error. I will 
> try to investigate a little on my own, even though I am not very experienced 
> at c++ or boost.
> For convieniency, here is the method that seems to fail:
>
> boost::asio::ip::address_v4 address::to_v4() const
> {
>  if (type_ != ipv4)
>  {
>    std::bad_cast ex;
>    boost::throw_exception(ex);
>  }
>  return ipv4_address_;
> }
>
>        Seems that type_ != ipv4, though I have no idea why. It seems to be 
> some win-specific implementation above in the stack-trace, which would 
> explain why it works on Ubuntu.
>        Sorry if I am wasting your time!
>

It looks like you're using IPv6 -- which IMO is a good thing, but not
so good for cpp-netlib. :D

This is a bug because I assumed that all servers will be using ipv4
addresses. Please file that as an issue in the issue tracker at
http://github.com/cpp-netlib/cpp-netlib/issues -- have a good one and
thanks for reporting the issue. :)

(Also, next time, please don't top-post. :) )

-- 
Dean Michael Berris
about.me/deanberris

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to