fn set_common_flags(socket: Socket) -> Result<Socket>
Set FD_CLOEXEC and NOSIGPIPE on the socket for platforms that need it.
FD_CLOEXEC
NOSIGPIPE
socket
Sockets created via accept should use set_common_accept_flags instead.
accept
set_common_accept_flags