|
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: Sean McAllister (smcallis_at_[hidden])
Date: 2010-03-22 10:41:49
Awesome, thanks!
On Mon, Mar 22, 2010 at 7:39 AM, Igor R <boost.lists_at_[hidden]> wrote:
> > 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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