Keith writes: | So I imagine if you passed the socket as the first arg | to Select.hSelect, you'd get what you want. | SocketPrim.socketToHandle claims to do the required | conversion. Yes, this works. Thanks. (BTW, The documentation of "SocketPrim.socketToHandle" reports the wrong type ("IOMode" argument is missing). Forwarded to glasgow-haskell-bugs.) /Koen.