Modify

Ticket #8950 (closed Bugs: fixed)

Opened 9 months ago

Last modified 7 months ago

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.

Attachments

Change History

comment:1 Changed 7 months ago by chris_kohlhoff

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.