Socket

Koen Claessen koen at cs.chalmers.se
Thu Aug 9 12:38:29 EDT 2001


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.





More information about the Glasgow-haskell-bugs mailing list