Subject: [Boost-bugs] [Boost C++ Libraries] #8950: async_receive_from documentation is incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-01 18:15:29
#8950: async_receive_from documentation is incorrect
------------------------------+----------------------------
Reporter: samm@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.54.0 | Severity: Cosmetic
Keywords: |
------------------------------+----------------------------
The
[http://www.boost.org/doc/libs/1_54_0/doc/html/boost_asio/reference/basic_datagram_socket/async_receive_from/overload1.html
documentation] for the async_receive_from overload of a
basic_datagram_socket has an incorrect example
{{{
socket.async_receive_from(
boost::asio::buffer(data, size), 0, sender_endpoint, handler);
}}}
the second argument should be the endpoint, there are no flags parameter
for this overload.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8950> 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:13 UTC