Boost C++ Libraries: Ticket #6008: boost::asio tutorial issue https://svn.boost.org/trac10/ticket/6008 <p> <a href="http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/tutorial/tutdaytime1.html">http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/tutorial/tutdaytime1.html</a> </p> <p> boost::asio::connect(socket, endpoint_iterator); </p> <p> gcc: error: ‘connect’ is not a member of ‘boost::asio’ </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6008 Trac 1.4.3 Thomas Heller Tue, 11 Oct 2011 04:57:38 GMT owner, component changed https://svn.boost.org/trac10/ticket/6008#comment:1 https://svn.boost.org/trac10/ticket/6008#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket bartek szurgot Fri, 20 Apr 2012 07:21:52 GMT version changed https://svn.boost.org/trac10/ticket/6008#comment:2 https://svn.boost.org/trac10/ticket/6008#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.47.0</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> the same's here: <a href="http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/example/http/client/sync_client.cpp">http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/example/http/client/sync_client.cpp</a> </p> Ticket chris_kohlhoff Tue, 29 May 2012 00:14:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6008#comment:3 https://svn.boost.org/trac10/ticket/6008#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> You are trying to compile against a version of Boost that is too old. Point your include path at an appropriate version. The asio::connect() function was added in Boost 1.47. </p> Ticket