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

Port Socket::Addrinfo to win32 #10650

Merged

Conversation

straight-shoota
Copy link
Member

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.

Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

@asterite
Copy link
Member

I got confused because I thought this PR was the same as #10610

@straight-shoota straight-shoota marked this pull request as ready for review April 24, 2021 17:31
Copy link
Member

@beta-ziliani beta-ziliani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@straight-shoota straight-shoota added this to the 1.1.0 milestone May 12, 2021
@straight-shoota straight-shoota merged commit 9cb47a7 into crystal-lang:master May 18, 2021
Windows automation moved this from Todo to Done May 18, 2021
@straight-shoota straight-shoota deleted the feature/win32-addrinfo branch May 18, 2021 22:05
@straight-shoota straight-shoota restored the feature/win32-addrinfo branch May 18, 2021 22:05
@straight-shoota straight-shoota deleted the feature/win32-addrinfo branch May 18, 2021 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Windows
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants