We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TcpSocket
1 parent 5e3ad02 commit 4714ca1Copy full SHA for 4714ca1
tokio/src/net/tcp/socket.rs
@@ -68,6 +68,9 @@ cfg_net! {
68
/// socket.set_reuseaddr(true)?;
69
/// socket.bind(addr)?;
70
///
71
+ /// // Note: the actual backlog used by `TcpListener::bind` is platform-dependent,
72
+ /// // as Tokio relies on Mio's default backlog value configuration. The `1024` here is only
73
+ /// // illustrative and does not reflect the real value used.
74
/// let listener = socket.listen(1024)?;
75
/// # drop(listener);
76
0 commit comments