conn-tools
Software
www.skarnet.org

The ioconnect program

ioconnect establishes a connection from stdin to a given open-for-writing file descriptor, and from an open-for-reading file descriptor to stdout. It maintains both connections separately, correctly transmitting EOFs when it gets them.

Interface

     ioconnect timeout fdr fdw

History

In all pre-0.18 versions: ioconnect transformed itself into two mutually-controlling timeoutcat processes: one reading from stdin and writing to fdw, the other reading from fdr and writing to stdout.

With 0.18, I managed to get the file descriptor handling right at last, so ioconnect is a single process by now.

Examples of use