Thank you Alex,
I agree with you, and so bad guy is me :)
Is it absolutely the truth that async_read() can invoke handler if there is
less data received then defined in buffer?
May be async_read() will invoke handler only when full buffer will
filled?
What the Boost documentation say on it:
The read operation may not read all of
the requested number of bytes. Consider using the async_read
function if you need to ensure that the
requested amount of data is read before the asynchronous operation
completes.
Sent: Tuesday, September 02, 2014 6:42 AM
Subject: Re: [Boost-users] Very interesting problem with TCP
sockets
_______________________________________________
Boost-users mailing
list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users