-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Improve documentation for TcpStream::set_nonblocking
#44050
Comments
I'd be happy to make the changes, though I actually don't know what the effects of using |
This will result in |
Opened a PR for TCP methods: #45227 I'll do another PR for the UDP instance of this in a follow-up PR when I have some more time. |
…r=sfackler Expand docs/examples for TCP `set_nonblocking` methods. Part of rust-lang#44050.
…r=sfackler Improve docs for UdpSocket::set_nonblocking. Closes rust-lang#44050.
…r=sfackler Improve docs for UdpSocket::set_nonblocking. Closes rust-lang#44050.
These docs currently just refer to POSIX and Win32 APIs, without explaining what they do (or even linking to docs for the corresponding platform APIs):
https://doc.rust-lang.org/std/net/struct.TcpStream.html#method.set_nonblocking
I'd like to have more information here about how other TcpStream methods change their behavior after calling this, possibly with an example.
The text was updated successfully, but these errors were encountered: