Boost C++ Libraries: Ticket #8421: docs show wrong overload https://svn.boost.org/trac10/ticket/8421 <p> <a href="http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/reference/basic_socket_acceptor/bind/overload1.html">http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/reference/basic_socket_acceptor/bind/overload1.html</a> </p> <p> The way 3rd function in there is shown, in that example. There is no such overload for endpoint which only takes uint. </p> <p> <a href="http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/reference/ip__basic_endpoint/basic_endpoint.html">http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/reference/ip__basic_endpoint/basic_endpoint.html</a> </p> <p> Hence, The example is bugged and should rather be... acceptor.bind(boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), 12345)); </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8421 Trac 1.4.3 viboes Wed, 10 Apr 2013 16:53:23 GMT component changed; owner set https://svn.boost.org/trac10/ticket/8421#comment:1 https://svn.boost.org/trac10/ticket/8421#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket chris_kohlhoff Sat, 25 May 2013 11:38:04 GMT <link>https://svn.boost.org/trac10/ticket/8421#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8421#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84483" title="Fix error in acceptor example. Refs #8421">[84483]</a>) Fix error in acceptor example. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8421" title="#8421: Bugs: docs show wrong overload (closed: fixed)">#8421</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Mon, 27 May 2013 12:36:47 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8421#comment:3 https://svn.boost.org/trac10/ticket/8421#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84530" title="Merge from trunk. Fixes #8421, #8602, #7739, #8613, #7939. ...">[84530]</a>) Merge from trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8421" title="#8421: Bugs: docs show wrong overload (closed: fixed)">#8421</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8602" title="#8602: Bugs: Documentation references nonexistent boost::asio::waitable_timer (closed: fixed)">#8602</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7739" title="#7739: Bugs: Divide by zero error in hash_map.hpp (closed: fixed)">#7739</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8613" title="#8613: Bugs: [Windows] ... (closed: fixed)">#8613</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7939" title="#7939: Patches: remove warning/error in asio/impl/src.cpp (closed: fixed)">#7939</a>. </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84482" title="Fix potential deadlock in signal_set implementation.">r84482</a> | chris_kohlhoff | 2013-05-25 21:35:10 +1000 (Sat, 25 May 2013) | 1 line </p> <p> Fix potential deadlock in signal_set implementation. </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84483" title="Fix error in acceptor example. Refs #8421">r84483</a> | chris_kohlhoff | 2013-05-25 21:38:01 +1000 (Sat, 25 May 2013) | 1 line </p> <p> Fix error in acceptor example. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8421" title="#8421: Bugs: docs show wrong overload (closed: fixed)">#8421</a> </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84484" title="Fix waitable timer documentation. Refs #8602">r84484</a> | chris_kohlhoff | 2013-05-25 21:41:19 +1000 (Sat, 25 May 2013) | 1 line </p> <p> Fix waitable timer documentation. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8602" title="#8602: Bugs: Documentation references nonexistent boost::asio::waitable_timer (closed: fixed)">#8602</a> </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84485" title="Add assertions that num_buckets_ is non-zero. Refs #7739">r84485</a> | chris_kohlhoff | 2013-05-25 21:46:20 +1000 (Sat, 25 May 2013) | 1 line </p> <p> Add assertions that num_buckets_ is non-zero. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7739" title="#7739: Bugs: Divide by zero error in hash_map.hpp (closed: fixed)">#7739</a> </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84486" title="Automatically disable SSL compression. To mitigate the risk of ...">r84486</a> | chris_kohlhoff | 2013-05-25 21:50:52 +1000 (Sat, 25 May 2013) | 8 lines </p> <p> Automatically disable SSL compression. </p> <p> To mitigate the risk of certain attacks, SSL compression is now disabled by default. To enable, you can use the new ssl::context::clear_options() function like so: </p> <blockquote> <p> my_context.clear_options(asio::ssl::context::no_compression); </p> </blockquote> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84487" title="Fix bug on Windows where certain operations might generate an ...">r84487</a> | chris_kohlhoff | 2013-05-25 21:52:54 +1000 (Sat, 25 May 2013) | 3 lines </p> <p> Fix bug on Windows where certain operations might generate an error_code with an invalid (i.e. NULL) error_category. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8613" title="#8613: Bugs: [Windows] ... (closed: fixed)">#8613</a> </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84488" title="Fix problem in #warning directive. Refs #7939">r84488</a> | chris_kohlhoff | 2013-05-25 21:57:36 +1000 (Sat, 25 May 2013) | 1 line </p> <p> Fix problem in #warning directive. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7939" title="#7939: Patches: remove warning/error in asio/impl/src.cpp (closed: fixed)">#7939</a> </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84492" title="Fix potential data race due to reading the reactor pointer outside the ...">r84492</a> | chris_kohlhoff | 2013-05-25 22:35:43 +1000 (Sat, 25 May 2013) | 2 lines </p> <p> Fix potential data race due to reading the reactor pointer outside the lock. </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84494" title="Regenerate documentation.">r84494</a> | chris_kohlhoff | 2013-05-25 23:03:48 +1000 (Sat, 25 May 2013) | 1 line </p> <p> Regenerate documentation. </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/84529" title="Add documentation for new features.">r84529</a> | chris_kohlhoff | 2013-05-27 22:17:19 +1000 (Mon, 27 May 2013) | 1 line </p> <p> Add documentation for new features. </p> <hr /> Ticket