ipc-channel
ipc-channel copied to clipboard
Ability to send arbitrary FDs across processes
Currently only channels and shared memory regions can be sent via IPC. It would be nice if one could serialize arbitrary objects implementing IntoRawFd and FromRawFd.
eg:
let handle = Handle::new(File::open(...).unwrap());
tx.send(handle).unwrap();
let file = rx.recv().unwrap().into_inner();
Hi, Is there any progress on this? This feature would be very useful.
Nobody is actively adding features to this crate right now. A pull request to implement this feature would be accepted, however.
PR in #276