Closed benjamincburns closed 10 years ago
Ugh. Nevermind. I really should read more...
:) let me know if you run into any troubles
On Saturday, June 28, 2014, Benjamin Burns notifications@github.com wrote:
Closed #8 https://github.com/TooTallNate/ref-struct/issues/8.
— Reply to this email directly or view it on GitHub https://github.com/TooTallNate/ref-struct/issues/8#event-136228277.
Cheers. If like me you enjoy seeing how people use your stuff, have a look at https://github.com/benjamincburns/node-tuntap
I'm using this to write a TUN/TAP module for opening, reading from, and writing to TUN and TAP devices. I'm trying to keep my module pure JavaScript, using things like santigimeno/node-ioctl and ref-struct, but I'm running into difficulties porting over the struct types for
ifreq
and friends, as some of them contain unions. I've seen adammw/ref-union, but its README.md lists it as unstable, and it strikes me that unions should be supported as part of this module.