conn-tools
Software
www.skarnet.org

The sendenv program

sendenv sends certain environment variables over the network, to be received by recvenv.

Interface

     sendenv [ -c | -d ] [ var... ]

Options

Example

tcpclient host port sh -c 'sendenv ZOINX ; exec ioconnect 0 6 7'
will connect to host:port and send the ZOINX environment variable before running ioconnect. The server must have a recvenv accepting ZOINX for it to be set.