Sending a file descriptor along a socket?

12 views
Skip to first unread message

Christopher Lemmer Webber

unread,
Jul 21, 2020, 2:07:02 PM7/21/20
to racket...@googlegroups.com
It looks like ffi/unsafe/port provides ways to read a file desciptor
from a port that is capable of receiving them, and there are tools
to transform that file descriptor into a port or the reverse, but
is there a way for me to *write* a file descriptor to a port
(ie, the equivalent to the sendmsg posix system call)?
(It might be right in front of my nose and that I'm missing it...)

Thanks!
- Chris
Reply all
Reply to author
Forward
0 new messages