Hi, cafe,

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: http://hackage.haskell.org/trac/ghc/ticket/806

This was a bad surprise.

How can achieve my purpose without hGetBufNonBlocking?

Thanks in advance,
Daniel Díaz

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

Reply via email to