ID EN
Socket

recv_fds

Python 3.11

Receive up to maxfds file descriptors from an AF_UNIX socket sock. Return (msg, list(fds), flags, addr). Consult recvmsg() for the documentation of these parameters.

Syntax

PYTHON
socket.recv_fds(sock, bufsize, maxfds[, flags])

See Also

AF_UNIX recvmsg() Availability sendmsg()