-
Notifications
You must be signed in to change notification settings - Fork 227
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
Refactor part 4 #124
Refactor part 4 #124
Conversation
Changes the URLs to the repo's new home: https://github.com/rust-lang/socket2-rs. Add keywords, categories and documentation link.
It's only available on Apple platforms.
Sets the WSA_FLAG_NO_HANDLE_INHERIT flag on socket creation on Windows.
Main benefit is add |
It would be nice to get a resolution on #117 before breaking it again :( |
To match Socket::set_nonblocking. Also add a test for it.
Matching the API of Socket::set_nonblocking.
To match Socket::set_cloexec. Also add a test for it and Type::no_inherit.
ed494d5
to
878e6b4
Compare
Same as Socket::set_nonblocking. Also add test for it.
@de-vri-es I've address your comments and added some tests (although more will be added in the future). |
Looks good. I'd still go with I'll start on rebasing #117 and implementing the requested changes. |
It's easiest to review by commit, those are small self-contained changes.