renet/src/socket
whitequark d7da46fd3b Do not clear remote_last_ts in TcpSocket::set_timeout().
After this change, if an 1s timeout is set on a socket that received
no packet for 2s, it will be instantly aborted, which seems
more reasonable. Also, this makes the `self.remote_last_ts.is_none()`
branch in TcpSocket::dispatch() actually behave as described.
2017-09-22 06:16:58 +00:00
..
mod.rs Compute soft deadline in poll() and use nonblocking sockets. 2017-08-29 19:47:11 +00:00
raw.rs RingBuffer::{empty,full}→is_{empty,full}. 2017-09-08 23:23:40 +00:00
set.rs Add `RawSocket`. 2017-06-21 03:29:31 +00:00
tcp.rs Do not clear remote_last_ts in TcpSocket::set_timeout(). 2017-09-22 06:16:58 +00:00
udp.rs RingBuffer::{empty,full}→is_{empty,full}. 2017-09-08 23:23:40 +00:00