-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Port Socket::Addrinfo
to win32
#10650
Port Socket::Addrinfo
to win32
#10650
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
I got confused because I thought this PR was the same as #10610 |
41393cf
to
685bf45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Adds bindings for addrinfo in the win32 API and integrates them with
Socket::Addrinfo
.The implementation just required a small adoption for error handling and API initialization. Except for that, the existing implementation works as well with WSA as the unix APIs.
Based on #10610 (first two commits) and implements another fraction of #9544.