[Haskell] [Haskell-cafe] ANNOUNCE: ioctl 0.0.1
Alberto G. Corona
agocorona at gmail.com
Sun Sep 13 15:48:57 UTC 2015
Did you managed to make it available for Windows?
2010-02-21 0:38 GMT+01:00 Maciej Piechotka <uzytkownik2 at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
--
Alberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell/attachments/20150913/4f53fa5d/attachment.html>
More information about the Haskell
mailing list