Subject: [Boost-bugs] [Boost C++ Libraries] #3143: Bug in windows IPv6 address to string conversion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-06 13:16:00
#3143: Bug in windows IPv6 address to string conversion
----------------------------------+-----------------------------------------
Reporter: cheesy4poofs_at_[hidden] | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: asio
Version: Boost 1.39.0 | Severity: Problem
Keywords: asio,%11,ipv6 |
----------------------------------+-----------------------------------------
I've noticed a bug in Windows 7 where I connect to a server and I print
the client's ipv6 address to a log message. The string address that is
returned from the following function always has a %11 at the end:
address_v6.hpp:124
/// Get the address as a string.
std::string to_string() const
{
boost::system::error_code ec;
std::string addr = to_string(ec);
boost::asio::detail::throw_error(ec);
return addr;
}
Example return value: fe80::8ced:2b49:90d5:7c3b%11
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3143> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC