passing a socket to a spawned process.

Josiah Carlson jcarlson at uci.edu
Thu Oct 28 18:54:50 CEST 2004


martin_ml at parvat.com (Martin Atkins) wrote:
> 
> I recently wrote a c module for Python, for passing file descriptors and process
> credentials down unix domain sockets under Linux. (using sendmsg(2))
> 
> It was pretty easy, and I could send it to anyone interested. Contact me
> off-list, since I don't normally read this group.
> 
> Perhaps there is a need for a OS-independant wrapper around versions
> specifically for Linux, Windows, Solaris, etc?
> 
> Martin

I'll take the source for the C version.  And in general, yes, Python
could use such a thing for all platforms, though I'm not sure all
platforms support it.

 - Josiah




More information about the Python-list mailing list