gogui-server(1)
| GOGUI-SERVER(1) | GoGui Reference | GOGUI-SERVER(1) |
NAME
gogui-server - Connects a Go program supporting Go Text Protocol to a socket.
SYNOPSIS
gogui-server -port n [-config file] [-loop] [-remote hostname] [-timeout sec] [-user file] [-verbose] program
gogui-server -help
gogui-server -version
DESCRIPTION
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.
OPTIONS
-config file
Read command line options and arguments from the given
file.
-help
Display help and exit.
-loop
After connection is finished, restart the program and
wait for next connection.
-port n
Port number to use for the socket.
-remote hostname
Connect to a remote host, instead of waiting for incoming
connections. See also -user.
-timeout seconds
Close connections if no command has been received for a
number of seconds. Default is zero, which means no timeout.
-user file
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.
-verbose
Print debugging messages.
-version
Print version and exit.
| 06/07/2021 | GoGui 1.4.9 |
