Timenkov Yuri
unread,Feb 12, 2009, 1:01:59 PM2/12/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to boost...@lists.boost.org, Christopher M. Kohlhoff
Hi
Is transfer_at_least supposed to return success only if requested number of bytes transferred at once or at all?
For example, I want to receive 800 bytes and put them into streambuf using transfer_at_least(800) as completion condition, but I receive 2 chunks of 400 bytes, therefore I never get a success, because transfer_at_least_t always wants more data.
I know, there are may be some problems with handler copying, but the name of function is misleading, and may be should be documented.
I'm using boost 1.37, may be something has changed in 1.38.