Пример #1
0
 def send(sock, fds):
     for fd in fds:
         _ancillary.send_fd(sock.fileno(), fd)
Пример #2
0
 def send_fd(self, fd):
     return _ancillary.send_fd(self.fd, get_fileno(fd))
Пример #3
0
 def send(sock, fds):
     for fd in fds:
         _ancillary.send_fd(sock.fileno(), fd)