Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PF_UNIX on windows #8863

Et7f3 opened this issue Aug 6, 2019 · 2 comments


Copy link

commented Aug 6, 2019

Since windows 10 1803, windows support PF_UNIX+SOCK_STREAM/SOCK_RAW combinaison
So Unix module can be updated.

@dra27 dra27 added the feature-wish label Aug 6, 2019


This comment has been minimized.

Copy link

commented Aug 6, 2019

This would be fiddly, but that doesn't mean not worth doing. A bit like Unix.symlink, you have the issue of whether you compile win32unix with this support (so you have at least SDK 10763 or later) and then at runtime you have to replicate the logic behind the sc query afunix call (a little like Unix.has_symlink - although in this case the absence of the support at runtime would just be signalled with an exception, not a separate function, I expect)


This comment has been minimized.

Copy link

commented Aug 7, 2019

The post say it is available if BuildNumber > 17063. I think it is safe to only check BuildNumber which is stored "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentBuildNumber".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.