We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 497ee32 commit 3b4861eCopy full SHA for 3b4861e
library/std/src/net/mod.rs
@@ -14,6 +14,10 @@
14
//! * [`ToSocketAddrs`] is a trait that used for generic address resolution when interacting
15
//! with networking objects like [`TcpListener`], [`TcpStream`] or [`UdpSocket`]
16
//! * Other types are return or parameter types for various methods in this module
17
+//!
18
+//! Rust disables inheritance of socket objects to child processes by default when possible. For
19
+//! example, through the use of the `CLOEXEC` flag in UNIX systems or the `HANDLE_FLAG_INHERIT`
20
+//! flag on Windows.
21
22
#![stable(feature = "rust1", since = "1.0.0")]
23
0 commit comments