> Keith writes: >=20 > | 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. >=20 > Yes, this works. Thanks. >=20 > (BTW, The documentation of "SocketPrim.socketToHandle" > reports the wrong type ("IOMode" argument is missing). > Forwarded to glasgow-haskell-bugs.) Fixed; thanks. Simon