Re: [Boost-bugs] [Boost C++ Libraries] #11808: ip::address::from_string() is not crossplatform

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11808: ip::address::from_string() is not crossplatform
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-20 09:02:10


#11808: ip::address::from_string() is not crossplatform
-----------------------------------+---------------------------------
  Reporter: reinterpret.alexey@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: Boost 1.59.0 | Component: asio
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords: WSAStringToAddressA
-----------------------------------+---------------------------------

Comment (by anonymous):

 #include <boost/asio.hpp>
 #include <iostream>

 using namespace std;
 using namespace boost::asio;

 int main() {
   try {
     cout << "Address: " << ip::address::from_string("127.0.0.1:80") <<
 "\n";
   }
   catch (...) {
     cout << "Exception.\n"; //< Not reached on Windows
   }
   return 0;
 }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11808#comment:1>
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:19 UTC