[Haskell-cafe] Blocking problem reading a handle
danieldiaz at asofilak.es
Thu Mar 24 09:49:19 CET 2011
all I want is to read the unread portion of a handle, without blocking
waiting for an EOF or a newline. My first attempt was to try with
hGetBufNonBlocking from System.IO, and other functions that use it in
its definition (directly or indirectly). But, unfortunately:
hGetBufNonBlocking doesn't work on Windows:
This was a bad surprise.
How can achieve my purpose without hGetBufNonBlocking?
Thanks in advance,
More information about the Haskell-Cafe