2009/12/16 Mitar <[email protected]>:
> On Wed, Dec 16, 2009 at 11:25 PM, Jason Dusek <[email protected]> wrote:
> Criterion for garbage is that it is not readable with "read" and that
> not because there would be not enough data available. It seems that I
> will need to do buffer filling and reading at the same time. I was
> hoping I could split this in two functions.
I don't see where you express in the code the notion of
enough data, though. Maybe I missed it.
> I am not using hReady signal as delimiter.
It seems like the message delimiter to me because you keep
buffering till you receive it.
Haskell-Cafe mailing list