What is the difference between:
boost::asio::tcp::socket::async_read_some()boost::asio::tcp::socket::async_receive()
Confirming everyone here with two links:
The code is exactly the same. However async_receive has one overload with message_flags, which notably allows you to specify asio::socket_base::message_peek.