Question about How use the ports in haskell

Nick Name nick.name@inwind.it
Wed, 26 Feb 2003 17:27:44 +0100


On Wed, 26 Feb 2003 00:54:13 +0000
"Cesar Augusto Acosta Minoli" <c_minoli@hotmail.com> wrote:

>=20
>   =BFThere's a way to  input/output data from the computers' port in
>   Haskell? =BFWhat about LPT1 or Com?=20

I guess the fastest way is to create a C library and use the FFI. If you
are on linux, you can as well read and write to devices, but I don't
know how to do IOCTLs, perhaps again with a C library.

Vincenzo