epoll::EPOLLRDHUP
[−]
pub const EPOLLRDHUP: Events=
Events{bits: libc::EPOLLRDHUP as u32,}
Stream socket peer closed connection, or shut down writing half of connection.
This flag is especially useful for writing simple code to detect peer shutdown when using Edge Triggered monitoring.