<div dir="ltr">Did you managed to make it available for Windows?</div><div class="gmail_extra"><br><div class="gmail_quote">2010-02-21 0:38 GMT+01:00 Maciej Piechotka <span dir="ltr"><<a href="mailto:uzytkownik2@gmail.com" target="_blank">uzytkownik2@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A package for type-safe I/O control. Currently only ioctl is supported.<br>
<br>
Currently simply a extract from my tuntap fork<br>
<br>
TODO:<br>
- Return the integer as well as structure (will break the API)<br>
- Port for Windows Network.Socket.IOCtl (as soon as I manage to setup<br>
some sane environment on this platform)<br>
- Wrapping around DeviceIoControl<br>
<br>
Example (in hsc):<br>
data NotRead = NotRead<br>
instance NotRead Int where<br>
ioctlReq _ = #const FIONREAD<br>
<br>
notRead s = ioctlsocket' s NotRead<br>
<br>
Regards<br>
<br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Alberto.</div>
</div>