Hello, I've been using sockets and handles with ghc-5.04.3. The strange thing is now that when I make a handle out of a socket and ask whether the handle is readable or writable, it returns True for the former and False for the latter, although sockets are bidirectional. And yes, I am able to read from and write the handle notwithstanding. I also got an exception once when working with these things and the debug information I got then, showed that both should have returned True instead. Can anyone enlighten me? thanks, Jur -- http://www.cs.uu.nl/people/jur/progrock.html -- jur@cs.uu.nl If e-mail does not work try jurriaanhage@hotmail.com
[Moving to glasgow-haskell-users@haskell.org] In local.haskell, you wrote:
I've been using sockets and handles with ghc-5.04.3. The strange thing is now that when I make a handle out of a socket and ask whether the handle is readable or writable, it returns True for the former and False for the latter, although sockets are bidirectional. And yes,
Do you have a small sample program which shows this behaviour? Can you try ghc-6? There have been some updates, but I cannot tell if this was a particular bug that got fixed. Regards, Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine
participants (2)
-
Jurriaan Hage -
Volker Stolz