Modify

Opened 4 years ago

Closed 4 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.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by chris_kohlhoff

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain chris_kohlhoff.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.