-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 send_vectored for unix socket #69915
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
src/libstd/sys/unix/ext/net.rs
Outdated
/// Ok(()) | ||
/// } | ||
/// ``` | ||
#[stable(feature = "unix_socket", since = "1.10.0")] |
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.
What is the correct way to specify this attribute? I didn't find the relevant documentation.
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
I wrote a similar functions in PR #69864. |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@LinkTed @joshtriplett Thanks. I will close this one. |
It might be nice to get this in separately from #69864, since just |
closes #68612
Currently only supports
send
as I didn't find binding forsendmsg
.connect
andsend
costs two syscalls.