def send(sock, fds): _ancillary.send_fds(sock.fileno(), fds)
def send_fds(self, fds): return _ancillary.send_fds(self.fd, [get_fileno(fd) for fd in fds])