I want to pass Unix file descriptor from one local (same machine processes) process to another process. Which are the IPCs mechanism useful from below?
PIPE/FIFO/Message Queue/ Shared Memory/ Socket / TLI / stream/ RPC**
I want to pass Unix file descriptor from one local (same machine processes) process to another process. Which are the IPCs mechanism useful from below?
PIPE/FIFO/Message Queue/ Shared Memory/ Socket / TLI / stream/ RPC**
The canonical way of passing a file descriptor from one process to the other is using Unix domain sockets, via the ancillary data of sendmsg
and recvmsg
.