On Sun, 17 Oct 2010, Marc Espie wrote:

> Mostly some XS wrapper around the recvmsg/CMSG_DATA part.
> Then some perl glue that would allow one to grab those data, and gets
> the fds from it.
> 
> It should probably only extract the msgs, let "normal" stuff grab non 
> out-of-band data IO, and create an array of those, with level/type/data.
> 
> If you want to do the send part as well, it should be reversed.
> 
> What I'm talking about is mostly wrapping around recvmsg/sendmsg
> and CMSG_DATA pack/unpack type routines.

We had talked about putting fdpassing functions into libutil at one
stage. IMO it would be better to go ahead with this and then wrap
the result.

-d

Reply via email to