Opened 9 years ago
Closed 9 years ago
#8950 closed Bugs (fixed)
async_receive_from documentation is incorrect
| Reported by: | 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.
Note:
See TracTickets
for help on using tickets.

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