Function | recvfd | Receive a file descriptor from a send1msg message on the
given AF_UNIX socket. |
Receive a file descriptor from a send1msg
message on the
given AF_UNIX
socket.
Parameters | socketfd | An AF_UNIX socket, attached to another process waiting to send
sockets via the ancillary data mechanism in send1msg . |
fd | int | |
Returns | a 2-tuple of (new file descriptor, description). (type: 2-tuple of (int , str )) |