
31 Jul
2011
31 Jul
'11
12:42 p.m.
Shouldn't be laziness that is biting you. You are using strict ByteStrings. I'm stumped! Did you try artificially inserting something like this to force c and c'? On Jul 31, 2011, at 12:25 PM, Manfred Lotz wrote:
recvMsg h = do c <- B.hGet h 1 hFlush h
print c
c' <- B.hGetNonBlocking h 40000
print c'
hFlush h return $ B.concat [c,c']