diff --git a/JSON-service.md b/JSON-service.md index f70c660..27515f2 100644 --- a/JSON-service.md +++ b/JSON-service.md @@ -7,7 +7,7 @@ Note that for the `JsonRpc` command, `--output=json` is the default. It is possible to communicate with the server over the network using named pipes. For example, the following commands set up a JSON RPC signal-cli server listening on local port 9182: mkfifo sigsocket - nc -l -p 9182 sigsocket & + (while true; do nc -l -p 9182 sigsocket & To communicate with the server from the same machine (localhost), issue the command: