On Wed, May 12, 2004 at 11:17:31PM -0400, graydon hoare wrote:
Christof Petig wrote:
Hello,
is anybody working (or planning to work) on pipe/stdin/stdout support
for netsync? I would love to have it working soon.
I am not currently working on it, but I'd love to see an implementation.
I can imagine two approaches: either teach Netxx how to wrap file
descriptors (quasi-sockets); or abstract netsync.cc to accept either
Netxx or file descriptor versions.
either should be plausible, and would be most welcome.
Just my 0.02...
What about using SSH builtin tunnel facility? This way, you don't need
to wrap file descriptors. You just use the initial SSH connection to
setup the tunnel and negociate through stdin/stdout about potential
additional parameters (like port number in case this one is already in
use). Then everything related to netsync happens over the tunnel.