We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 611c2ae commit 8252353Copy full SHA for 8252353
src/libstd/io/net/tcp.rs
@@ -95,6 +95,9 @@ impl TcpStream {
95
/// This is the same as the `connect` method, except that if the timeout
96
/// specified (in milliseconds) elapses before a connection is made an error
97
/// will be returned. The error's kind will be `TimedOut`.
98
+ ///
99
+ /// Note that the `addr` argument may one day be split into a separate host
100
+ /// and port, similar to the API seen in `connect`.
101
#[experimental = "the timeout argument may eventually change types"]
102
pub fn connect_timeout(addr: SocketAddr,
103
timeout_ms: u64) -> IoResult<TcpStream> {
0 commit comments