What is the difference between calling boost::asio::ip::tcp::socket
's read_some
/write_some
member functions and calling the boost::asio::read
/boost::asio::write
free functions?
More specifically:
Is there any benefit to using one over the other?
Why are both included in the library?