Google and Python

Bryan Olson fakeaddress at nowhere.org
Tue Sep 25 11:20:11 CEST 2007


Paul Rubin wrote:
> You can also pass the open sockets around between processes instead of
> reverse proxying, using the SCM_RIGHTS message on Unix domain sockets
> under Linux, or some similar mechanism under other Unixes (no idea
> about Windows).  Python does not currently support this but one of
> these days I want to get around to writing a patch.

Windows can do it, but differently. What a surprise.
I just looked it up: WSADuplicateSocket() is the key.
Windows and Unix modules with the same Python interface
would rock.


-- 
--Bryan



More information about the Python-list mailing list