gtpserver - Connects a Go program supporting Go Text Protocol to a socket.
gtpserver -port n [-config file] [-help] [-loop] [-remote hostname] [-user file] [-verbose] [-version] program
Runs a Go program supporting the Go Text Protocol by executing program and connects its input and output to a listen socket on port number port of the local computer so that other programs can connect to it from the network. If the option -remote is used, an connection to another host is made instead of waiting for incoming connections.
Read command line options and arguments from file.
Display help and exit.
Restart program and wait for next connection after connection is finished.
Port number to user for the socket.
Connect to a remote host instead of waiting for incoming connections. See also -user.
If the option -remote is used and the remote program requires that any connecting program sends some plain text login information before waiting for commands, then this option can be used. The argument is a filename. The content of this file is sent verbatim to the remote computer.
Print debugging messages.
Print version and exit.