20 lines
485 B
Markdown
20 lines
485 B
Markdown
# Python example
|
|
|
|
### Install
|
|
|
|
```
|
|
pip install libzt
|
|
```
|
|
|
|
### Run
|
|
```
|
|
python3 example.py server id-path/bob 0123456789abcdef 8080
|
|
python3 example.py client id-path/alice 0123456789abcdef ip.ip.ip.ip 8080
|
|
```
|
|
|
|
## Links
|
|
|
|
- Getting Started: [docs.zerotier.com/sockets](https://docs.zerotier.com/sockets/tutorial.html)
|
|
- Source [src/bindings/python](../../src/bindings/python)
|
|
- Design inspired by: [Python Low-level networking interface](https://docs.python.org/3/library/socket.html)
|