Ticket #8421 (closed Bugs: fixed)
docs show wrong overload
|Reported by:||chinmay1993@…||Owned by:||chris_kohlhoff|
|Milestone:||To Be Determined||Component:||asio|
|Version:||Boost 1.53.0||Severity:||Not Applicable|
The way 3rd function in there is shown, in that example. There is no such overload for endpoint which only takes uint.
Hence, The example is bugged and should rather be... acceptor.bind(boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), 12345));