Receive a file descriptor from a sendmsg
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 , bytes )) |