Home
last modified time | relevance | path

Searched refs:set_linger (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
H A Dstream.rs381 pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> { in set_linger() method
382 self.source.set_linger(linger) in set_linger()
704 stream.set_linger(Some(Duration::from_secs(1))).unwrap(); in ut_tcp_stream_basic()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
H A Dstream.rs154 pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> { in set_linger() method
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
H A Dstream.rs191 pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> { in set_linger() method
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dtcp_test.rs138 .set_linger(Some(std::time::Duration::from_secs(1))) in sdv_tcp_stream_basic()