Boost logo

Boost :

Subject: Re: [boost] [asio] boost::asio::async_connect reports success on failure
From: Ben Pope (benpope81_at_[hidden])
Date: 2013-07-08 01:00:15

On 03/07/13 17:12, Ben Pope wrote:
> Hi all,
> I've found a regression between 1.53 to 1.54; if you compile
> boost/libs/asio/example/cpp11/chat/chat_client.cpp and point it at a
> host and port that doesn't exist or refuses the connection, instead of
> coming back with an error, such as host not found or connection refused,
> it reports success (on the conversion to bool). (you might want to
> embellish the example with a std::cout << error_code.message() <<
> std::endl;)


Boost list run by bdawes at, gregod at, cpdaniel at, john at