1TCPCONNECT(1)               General Commands Manual              TCPCONNECT(1)
2
3
4

NAME

6       tcplisten - general TCP/IP server
7

SYNOPSIS

9       tcplisten [-irv] [localaddr] port
10

DESCRIPTION

12       tcplisten waits for a TCP/IP connection on port.  If a localaddr param‐
13       eter is given, tcplisten will  bind  to  that  IP  address.   Otherwise
14       tcplisten  will  accept  connections  to  any  of the local machines IP
15       addresses.  Data received from the client is printed on  standard  out‐
16       put,  and  data  read  from standard input is sent to the client.  When
17       end-of-file is reached on both standard input and  the  TCP/IP  connec‐
18       tion, tcplisten terminates.
19

OPTIONS

21       -i     Terminate  at  end-of-file on standard input; don't wait for the
22              client to close the connection.
23
24       -r     Terminate when the remote client closes  the  connection;  don't
25              wait for end-of-file on standard input.
26
27       -v     Verbose mode.  Prints a message to standard error about the ori‐
28              gins (host and port) of the client.
29

SEE ALSO

31       tcpconnect(1), telnet(1), mini-inetd(1), tcpbug(1).
32

BUGS

34       The names of the options are not yet finalized, and  may  change  at  a
35       future release.
36
37
38
39                                 1997 April 13                   TCPCONNECT(1)
Impressum