However, there is no indication of how or in what layer this is done. Is this something in C that is a drop-in replacement for the CRTL's popen and friends? Or is it in pure Java? Either way, does anyone here know more about how it's done and/or have an opinion about whether this model could be applied elsewhere, say, in Perl ;-).
I do not know what JAVA is doing, but what may fit your requirements is something known as socketpair(). There is an open source implementation for it in the SAMBA test code, and in RSYNC.
I also expect that socketpair() will be available with OpenVMS 8.2, but do not consider this a commitment on that.
socketpair() also helps when simulating fork() by use of POSIX threads.
-John [EMAIL PROTECTED] Personal Opinion Only