You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be more of a libuv issue (see joyent/libuv#1493) but when writing bindings using NAN is there any NAN wrapper that could expose libuv's _get_osfhandle to get the Handle for an fd?
I think the problem for bindings is that the fd is opened by the code compiled as part of Node, but _get_osfhandle can't lookup that fd when called from code compiled as part of a binding.
I think at present there is no way to resolve an fd to a Handle on Windows from a native add-on binding (i.e. any bindings that do fs work can't accept fds on Windows)?
The text was updated successfully, but these errors were encountered:
This is specific to Windows.
It might be more of a libuv issue (see joyent/libuv#1493) but when writing bindings using NAN is there any NAN wrapper that could expose libuv's _get_osfhandle to get the Handle for an fd?
I think the problem for bindings is that the fd is opened by the code compiled as part of Node, but _get_osfhandle can't lookup that fd when called from code compiled as part of a binding.
I think at present there is no way to resolve an fd to a Handle on Windows from a native add-on binding (i.e. any bindings that do fs work can't accept fds on Windows)?
The text was updated successfully, but these errors were encountered: