[Haskell-beginners] Network client - reading and writing to a socket

David Place d at vidplace.com
Sun Jul 31 18:20:17 CEST 2011


____________________
David Place   
Owner, Panpipes Ho! LLC
http://panpipesho.com
d at vidplace.com



On Jul 31, 2011, at 12:17 PM, Manfred Lotz wrote:

>  c <- B.hGet h 1
>  hFlush h
>  c' <- B.hGetNonBlocking h 40000 

Try putting one here too.  Can't hurt right?

>  return $ B.concat [c,c']




More information about the Beginners mailing list