Boost C++ Libraries: Ticket #5114: Unexpected exception from tcp::socket::async_connect https://svn.boost.org/trac10/ticket/5114 <p> ASIO uses two sockets connected to each other through loopback interface (in select_reactor). If, for example, access to loopback is blocked by firewall, then async_connect throws exception, instead of calling given handler with appropriate error code. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5114 Trac 1.4.3 anonymous Thu, 07 Aug 2014 04:27:41 GMT <link>https://svn.boost.org/trac10/ticket/5114#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5114#comment:1</guid> <description> <p> Also maybe similar problem reproduced in my application that using boost::asio (boost version 1.55.0): tcp::socket::async_connect throws boost::system::system_error with error code 10055 when another test application used ~16000 sockets on my windows 7 64-bit. The call stack is: </p> <p> boost::throw_exception&lt;boost::system::system_error&gt;+0x97 [d:\lib\boost\include\boost\throw_exception.hpp @ 70] boost::asio::detail::do_throw_error+0x5e [d:\lib\boost\include\boost\asio\detail\impl\throw_error.ipp @ 39] boost::asio::detail::throw_error+0x1c [d:\lib\boost\include\boost\asio\detail\throw_error.hpp @ 42] boost::asio::detail::socket_select_interrupter::open_descriptors+0x12a [d:\lib\boost\include\boost\asio\detail\impl\socket_select_interrupter.ipp @ 66] boost::asio::detail::socket_select_interrupter::socket_select_interrupter+0x16 [d:\lib\boost\include\boost\asio\detail\impl\socket_select_interrupter.ipp @ 42] boost::asio::detail::select_reactor::select_reactor+0x82 [d:\lib\boost\include\boost\asio\detail\impl\select_reactor.ipp @ 48] boost::asio::detail::service_registry::create&lt;boost::asio::detail::select_reactor&gt;+0x63 [d:\lib\boost\include\boost\asio\detail\impl\service_registry.hpp @ 81] boost::asio::detail::service_registry::do_use_service+0xb3 [d:\lib\boost\include\boost\asio\detail\impl\service_registry.ipp @ 123] boost::asio::detail::service_registry::use_service&lt;boost::asio::detail::select_reactor&gt;+0x50 [d:\lib\boost\include\boost\asio\detail\impl\service_registry.hpp @ 49] boost::asio::use_service&lt;boost::asio::detail::select_reactor&gt;+0xe [d:\lib\boost\include\boost\asio\impl\io_service.hpp @ 34] boost::asio::detail::win_iocp_socket_service_base::get_reactor+0x3e [d:\lib\boost\include\boost\asio\detail\impl\win_iocp_socket_service_base.ipp @ 620] boost::asio::detail::win_iocp_socket_service_base::start_connect_op+0x2e [d:\lib\boost\include\boost\asio\detail\impl\win_iocp_socket_service_base.ipp @ 550] boost::asio::detail::win_iocp_socket_service&lt;boost::asio::ip::tcp&gt;::async_connect ... </p> </description> <category>Ticket</category> </item> <item> <author>raad@…</author> <pubDate>Thu, 12 Nov 2015 09:27:04 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/5114#comment:2 https://svn.boost.org/trac10/ticket/5114#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">raad@…</span> added </li> </ul> Ticket