module documentation

Undocumented

Function recvfd Receive a file descriptor from a sendmsg message on the given AF_UNIX socket.
def recvfd(socketfd): (source)

Receive a file descriptor from a sendmsg message on the given AF_UNIX socket.

Parameters
socketfd:intAn AF_UNIX socket, attached to another process waiting to send sockets via the ancillary data mechanism in send1msg.
fdint
Returns
2-tuple of (int, bytes)a 2-tuple of (new file descriptor, description).