Update README.md to include UDP operation

This commit is contained in:
RunasSudo 2019-12-02 08:54:33 +11:00
parent e3727bfb46
commit f4ef35dc5f
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -22,4 +22,6 @@ Then pass the path of the device to be forwarded, and pipe the output to an inst
python -u -m input_over_ssh.client -p /dev/input/event1 | ssh hostname.example.com 'PYTHONPATH=/path/to/input-over-ssh python -m input_over_ssh.server' python -u -m input_over_ssh.client -p /dev/input/event1 | ssh hostname.example.com 'PYTHONPATH=/path/to/input-over-ssh python -m input_over_ssh.server'
``` ```
For the adventurous, you ought to be able to replace ssh with [mosh](https://mosh.org/) or netcat over UDP to further reduce latency.
For a full list of command-line options, run `python -m input_over_ssh.client --help`. For a full list of command-line options, run `python -m input_over_ssh.client --help`.