$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] Problem implementing a line-based protocol
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2011-01-11 09:27:04
On 01/11/2011 02:23 PM, Hannes Brandstätter-Müller wrote:
> Could you provide example code?
>
> As you might notice, the PARAMETERNAMES is missing a "PARA"
>
> Hannes
>
I think you should make sure the istream is destructed before the
underlying streambuf is touched again (in thise case, through
start_read). E.g., just put the stuff after declaring the msg until just
before the point where you call start_read in its own scope.
HtH,
Rutger