
22 Mar
2010
22 Mar
'10
2:39 p.m.
How can I get all the data if it throws an exception during the last read?
Throwing an exception doesn't remove any data from the buffer you supply -- it's still there. Read also the following thread: http://article.gmane.org/gmane.comp.lib.boost.asio.user/3874