diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-05-17 20:28:33 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-05-17 20:28:33 +0200 |
commit | c2e85f56cf99652fea1fc0d88cc36f819739920b (patch) | |
tree | cd0385a24b081c977fcc68c8038fe60e0724ea00 /content/en | |
parent | bb49c7108a75f8bdc6f6bc979f0d6c9deecedb78 (diff) | |
download | website-c2e85f56cf99652fea1fc0d88cc36f819739920b.tar.gz website-c2e85f56cf99652fea1fc0d88cc36f819739920b.zip |
docs: Add irmd setup for python example
Diffstat (limited to 'content/en')
-rw-r--r-- | content/en/docs/API/python.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/content/en/docs/API/python.md b/content/en/docs/API/python.md index cb0405c..4c8c862 100644 --- a/content/en/docs/API/python.md +++ b/content/en/docs/API/python.md @@ -247,5 +247,20 @@ if __name__ == "__main__": server() if args.listen is True else client() ``` +Running it is just the same as the binary program, register the name +"oecho", bind the server to "oecho" (you can even bind both the C and +Python programs at the same time), and allocating a flow should reach +the server. For a local layer + +```bash +$ irm i b t local n local l local +$ irm n r oecho l local +$ irm b prog ./oechy.py n oecho +$ ./oecho.py -l & +# or: +# python oecho.py -l +$ ./oechy.py +``` + ## License pyOuorboros is LGPLv2.1. The examples are 3-clause BSD.
\ No newline at end of file |