$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 07:32:30
On 01/11/2011 12:45 PM, Hannes Brandstätter-Müller wrote:
[snip]
> Does anyone have a code snippet that can help me figure out what could
> be stuck and lost in the buffer, or where else the problem could be?
>
IIRC, this might have to do with istream / streambuf not doing what you
may expect. Have you tried using streambuf's commit / consume member
functions?
Cheers,
Rutger