
30 Mar
2009
30 Mar
'09
11:22 a.m.
One more: can boost::asio::async_read return without filling provided buffer fully? I guess only in case of some error that will be set in boost::system::error_code parameter.
async_read has 4 overloads: http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/reference/async_rea... 2 of them have completion condtition parameter: http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/reference/async_rea... http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/reference/async_rea...