11 lines
360 B
Plaintext
11 lines
360 B
Plaintext
# serve
|
|
|
|
`serve` is a super simple server. It takes as input a port to run the server on,
|
|
and the path to a program. The program's stdin and stdout will work on the
|
|
client which is connected to it.
|
|
|
|
An example server is found in `ex-server.sh` and can be tried out with
|
|
`serve 1234 ./ex-server.sh`.
|
|
|
|
You can connect to the server with `nc -vn 127.0.0.1 1234`.
|