def bind(self): self.socket = unix.bind(self.path) flags = fcntl.fcntl(self.socket.fileno(), fcntl.F_GETFD) flags |= fcntl.FD_CLOEXEC fcntl.fcntl(self.socket.fileno(), fcntl.F_SETFD, flags)
def bind(self): self.socket = unix.bind(self.path)