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