Opened 9 years ago

Closed 9 years ago

#8950 closed Bugs (fixed)

async_receive_from documentation is incorrect

Reported by: samm@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Cosmetic
Keywords: Cc:

Description

The 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.

Change History (1)

comment:1 by chris_kohlhoff, 9 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk in [85736]. Merged to release in [85838].

Note: See TracTickets for help on using tickets.