2009/12/16 Mitar <mmi...@gmail.com>:
> On Wed, Dec 16, 2009 at 11:25 PM, Jason Dusek <jason.du...@gmail.com> 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.

--
Jason Dusek
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to