NAME
callinfo_tcp_print - Test program that works as TCP/IP server
SYNOPSIS
callinfo_tcp_print -server addr -port pnum
PARAMETERS
-port Port number that the server should open and listen
to.
-server Host name or IP-address for the IP-interface
the server should listen to.
DESCRIPTION
This program runs as a test server, that listens to TCP and prints
received data to standard output. This is a useful test program
for testing configurations where printable data is sent over
TCP/IP to some port.
This test server only accepts a single connection, and exits
when the client closes the connection. Control-C can be used
to interrupt/abort.
EXAMPLES
Set up a server that listens to port 9876 at the interface localhost
example% callinfo_tcp_print -server localhost -port 9876
Set up a server that listens to port 3245 at the interface 192.168.1.10
example% callinfo_tcp_print -server 192.168.1.10 -port 3245