Boost logo

Boost Users :

Subject: Re: [Boost-users] Will asio::ip::tcp::socket::read let me read all my data even if remote end is connected?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-03-22 10:39:40


> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net