I/O Question
Volker Stolz
stolz@i2.informatik.rwth-aachen.de
Tue, 6 May 2003 10:17:16 +0200
In local.glasgow-haskell-users, you wrote:
> I need to find a way to determine whether data is available,
> for reading, on a socket connection, without blocking a thread.
GHC.IO.hWaitForInput should do what you want. Notice that this
usually means that your problem could be solved in a cleaner way
using threads.
--
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine