On Sun, Sep 4, 2011 at 7:09 PM, tsuraan <tsur...@gmail.com> wrote: >> For this specific problem I recommend using a forkIO'd >> Iteratee/Enumerator pair with a Chan to shuttle data between them, I >> think it's probably the best way of doing it. > > Googling for "enumerator chan" gives me this gist (written by you in > April): https://gist.github.com/932384 . Is that what you're > thinking? Have each socket's read and write tied to a chan enumerator > or iterator as appropriate, and steer the data around as desired? My > actual problem involved multiple upstream server and merging the data > from all of them, so I think, assuming I'm understanding you > correctly, that this would make a lot of sense.
I think that's roughly what I had in mind, yes. G -- Gregory Collins <g...@gregorycollins.net> _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe