[Haskell-cafe] Socket Programming

Mark Goldman bitshifter at gmail.com
Sat Dec 30 21:55:02 EST 2006


I am trying to write a toy echo server that can handle multiple
connections.  I would like to be able to test and see if there are any
connections waiting to be accepted on a socket.  In C and related
languages I would use something like select or poll to be nice to the
OS, what would I use with the current haskell libs given that I can't
seem to find a function to test if accept would block or not?

-mdg

-- 
Our problems are mostly behind us, now all we have to do is fight the solutions.


More information about the Haskell-Cafe mailing list