$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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