SuperScript::Software::ucspi-ssl

The sslclient program


Interface

  sslclient opts host port prog
where opts is a series of getopt-style options, host is a host name for the client to connect to, and prog is one or more arguments specifying a program to run for each successful connection.

sslclient attempts to connect to a TCP server at host port. If the connection succeeds, sslclient runs prog, with file descriptors 6 and 7 reading from and writing to a child process ssl. The ssl process attempts an SSL connect via the network. If it succeeds, it translates data between prog and the network, performing any necessary SSL encoding and decoding.

Before running prog, sslclient sets certain environment variables.

Options

General Options:

Connection options:

Data-gathering options: