DIAL(1) DIAL(1)
NAME
dial - connect to a remote service
SYNOPSIS
aux/dial [-e] [ -o msg ]... addr [ cmd [ args ]... ]
DESCRIPTION
Dial connects to the remote network address addr (see
dial(2)) and if no cmd is specified, copies data from the
connection to standard output, and from standard input to
the network connection.
By default, dial exits when end of file is reached on stan-
dard input or on the network connection. The -e flag causes
dial to exit only in response to end of file on the network
connection.
If cmd is given, then cmd is executed with standard input
and output connected to the network connection.
The -o option cause protocol-specific control messages to be
written to the control file of the network connection (see
ip(3)). It can be specified multiple times.
SOURCE
/sys/src/cmd/aux/dial.c
SEE ALSO
dial(2), listen(8), ip(3)