Пример #1
0
 def recv(sock, n_fds):
     result = []
     for i in xrange(n_fds):
         result.append(_ancillary.recv_fd(sock.fileno()))
     return result
Пример #2
0
 def recv_fd(self):
     return _ancillary.recv_fd(self.fd)
Пример #3
0
 def recv(sock, n_fds):
     result = []
     for i in xrange(n_fds):
         result.append(_ancillary.recv_fd(sock.fileno()))
     return result