Bidrectional Subprocess Communication

greg greg at cosc.canterbury.ac.nz
Sun Dec 14 03:03:26 EST 2008


Gabriel Genellina wrote:

> (Pipes don't work the same as sockets, although unix-like systems try 
> hard  to hide the differences...)

BSD-based unixes implement pipes using socketpair(), so
pipes actually *are* sockets (or at least they used to be,
not sure whether it's still true).

-- 
Greg



More information about the Python-list mailing list