mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
net: qualify that SO_REUSEADDR is only set on Unix (#7533)
This commit is contained in:
@@ -75,7 +75,7 @@ impl TcpListener {
|
||||
/// the addresses succeed in creating a listener, the error returned from
|
||||
/// the last attempt (the last address) is returned.
|
||||
///
|
||||
/// This function sets the `SO_REUSEADDR` option on the socket.
|
||||
/// This function sets the `SO_REUSEADDR` option on the socket on Unix.
|
||||
///
|
||||
/// To configure the socket before binding, you can use the [`TcpSocket`]
|
||||
/// type.
|
||||
|
||||
Reference in New Issue
Block a user