ID EN
Socket

send_fds

Python 3.11

Send the list of file descriptors fds over an AF_UNIX socket sock. The fds parameter is a sequence of file descriptors. Consult sendmsg() for the documentation of these parameters.

Syntax

PYTHON
socket.send_fds(sock, buffers, fds[, flags[, address]])

See Also

AF_UNIX sendmsg() Availability sendmsg()