"The Handle returned by connectTo and accept is unbuffered by default."; oh yeah?

George Russell ger at tzi.de
Fri Jan 25 15:03:09 EST 2002


According to the GHC libraries manual, 6.2.1: "The Handle returned by connectTo and 
accept is unbuffered by default."   However, with such a handle and hPutStrLn, 
I am getting buffering, even when use IO.hSetBuffering to NoBuffering.   When I
put in an explicit hFlush after the hPutStrLn it works.




More information about the Glasgow-haskell-bugs mailing list