You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# 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)
|