Name

mconnect — connect to a line-protocol server on a remote host.

Synopsis

mconnect [host [port]]

Description

mconnect uses tcpclient(1) to connect to TCP port port on host, and then runs mconnect-io(1).

Its default use is to enable UNIX tools to have a conversation with a network SMTP server. If port is not supplied, the default is 25. If host is not supplied, the default is the local host.

See also

tcpcat(1)

a unidirectional straight pass-through client

History

mconnect was originally part of Daniel J. Bernstein's ucspi-tcp toolset in 1999.

Author

Original code and documentation by Daniel J. Bernstein. Documentation modernizations by Jonathan de Boyne Pollard.