[Haskell-cafe] Trying to write a TCP proxy

Christian Sievers sievers at math2.nat.tu-bs.de
Fri Sep 22 14:44:02 EDT 2006

John Ky wrote:

> I finally realised that hGetLine strips out the "\n" newline character
> so when I forward the line to the server, I need to append it again.

Or use hPutStrLn instead of hPutStr ?
(I may be missing something...)

Christian Sievers

More information about the Haskell-Cafe mailing list