Function socket2::socket::set_common_flags

source ยท
fn set_common_flags(socket: Socket) -> Result<Socket>
Expand description

Set FD_CLOEXEC and NOSIGPIPE on the socket for platforms that need it.