Set the inheritable flag of the socket’s file descriptor or socket’s handle.
socket.set_inheritable(inheritable)