[Twisted-Python] connect/listenUNIX with fd's from socketpair

Hi assuming a working version of socketpair (which I do have courtesy of the scgi module here http://www.mems-exchange.org/software/scgi/) Is there a way to perform listenUNIX or connectUNIX on the reactor with just the raw file descriptors? I have twisted script, which I plan to fork after calling socketpair which will give me a child processes connected to each other? Jon

On Mon, 2004-07-12 at 16:09, Jon Dyte wrote:
I have twisted script, which I plan to fork after calling socketpair which will give me a child processes connected to each other?
The current spawnProcess API allows something like that already, I think, though I don't know enough to be sure (you can have arbitrary fds be either read or write from the parent process). -- Itamar Shtull-Trauring http://itamarst.org

On Mon, 2004-07-12 at 16:09, Jon Dyte wrote:
I have twisted script, which I plan to fork after calling socketpair which will give me a child processes connected to each other?
The current spawnProcess API allows something like that already, I think, though I don't know enough to be sure (you can have arbitrary fds be either read or write from the parent process). -- Itamar Shtull-Trauring http://itamarst.org
participants (2)
-
Itamar Shtull-Trauring
-
Jon Dyte