> 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.
Sorry, that bit of documentation is out of date. Buffering on sockets
is now BlockBuffering by default.
I tried a quick test to set the buffering to NoBuffering using
hSetBuffering, and it seems to work fine here. Could you give us some
code to test?
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs