Boost C++ Libraries: Ticket #8950: async_receive_from documentation is incorrect https://svn.boost.org/trac10/ticket/8950 <p> The <a href="http://www.boost.org/doc/libs/1_54_0/doc/html/boost_asio/reference/basic_datagram_socket/async_receive_from/overload1.html">documentation</a> for the async_receive_from overload of a basic_datagram_socket has an incorrect example </p> <pre class="wiki">socket.async_receive_from( boost::asio::buffer(data, size), 0, sender_endpoint, handler); </pre><p> the second argument should be the endpoint, there are no flags parameter for this overload. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8950 Trac 1.4.3 chris_kohlhoff Tue, 01 Oct 2013 09:03:52 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8950#comment:1 https://svn.boost.org/trac10/ticket/8950#comment:1 <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> Fixed on trunk in <a class="changeset" href="https://svn.boost.org/trac10/changeset/85736" title="Fix error in async_receive_from example.">[85736]</a>. Merged to release in <a class="changeset" href="https://svn.boost.org/trac10/changeset/85838" title="Merge asio from trunk. ...">[85838]</a>. </p> Ticket