pub fn shutdown<Fd: AsFd>(sockfd: Fd, how: Shutdown) -> Result<()>
Expand description
shutdown(fd, how)
—Closes the read and/or write sides of a stream.
pub fn shutdown<Fd: AsFd>(sockfd: Fd, how: Shutdown) -> Result<()>
shutdown(fd, how)
—Closes the read and/or write sides of a stream.