Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7392: boost::asio::ip::tcp::socket::is_open returns true even if socket is unusable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-27 09:17:07
#7392: boost::asio::ip::tcp::socket::is_open returns true even if socket is
unusable
------------------------------------------------------+---------------------
Reporter: Valentin Shtronda <valiko.ua@â¦> | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------
Comment (by anonymous):
I also see that behaviour with boost 1.49.0.1 (stock Debian package), but
in my case the error from the call to connect failed with error 111:
Connection refused
Subsequent call to is_open returns != 0
1902561 [0x7ffff7fc3760] ERROR inverter.Shared_Comms_Inverter1 null -
Error while connecting: (111) Connection refused
1902561 [0x7ffff7fc3760] DEBUG inverter.Shared_Comms_Inverter1 null - new
state: CMD_DISCONNECTED
1902561 [0x7ffff4d3b700] DEBUG
inverter.Shared_Comms_Inverter1.Comms_SharedConnection..Comms_TCP_ASIO
null - Already connected
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7392#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:11 UTC