Boost logo

Boost Users :

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


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