Did you managed to make it available for Windows?

2010-02-21 0:38 GMT+01:00 Maciej Piechotka <uzytkownik2@gmail.com>:
A package for type-safe I/O control. Currently only ioctl is supported.

Currently simply a extract from my tuntap fork

TODO:
- Return the integer as well as structure (will break the API)
- Port for Windows Network.Socket.IOCtl (as soon as I manage to setup
some sane environment on this platform)
- Wrapping around DeviceIoControl

Example (in hsc):
data NotRead = NotRead
instance NotRead Int where
        ioctlReq _ = #const FIONREAD

notRead s = ioctlsocket' s NotRead

Regards


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe




--
Alberto.