> Below is my sample code ; the Net Cats
> This does not work, because 'accept' fuction of the
> Network module blocks the whole process, unlike
> Haskell Standard IO functions which blocks its thread
> only. How did you work around with complex networked
> applications ? It would be very helpful i
John Meacham wrote:
that is what Concurrent is for, Haskell threads, (well GHC threads) are
lightweight and can be used for selectlike purposes without too much
overhead. I use them quite effectivly for complex networked
applications..
see
http://haskell.org/ghc/docs/latest/html/base/Control.Con