From c2e85f56cf99652fea1fc0d88cc36f819739920b Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 17 May 2020 20:28:33 +0200 Subject: docs: Add irmd setup for python example --- content/en/docs/API/python.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'content/en') 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 -- cgit v1.2.3