-
Jean-Paul Saman authored
MSG_CMSG_CLOEXEC is a flag for recvmsg and not recv. Thus rewrite {udp,tcp}_open to create sockets with SOCK_CLOEXEC. If SOCK_CLOEXEC is not available, FD_CLOEXEC is set instead.
3d865a7a
MSG_CMSG_CLOEXEC is a flag for recvmsg and not recv. Thus rewrite {udp,tcp}_open to create sockets with SOCK_CLOEXEC. If SOCK_CLOEXEC is not available, FD_CLOEXEC is set instead.