https://github.com/teonet-co/teocli
Teonet L0 client library
https://github.com/teonet-co/teocli
c teocli teonet trudp
Last synced: 5 months ago
JSON representation
Teonet L0 client library
- Host: GitHub
- URL: https://github.com/teonet-co/teocli
- Owner: teonet-co
- Created: 2018-05-16T19:59:21.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-03-23T14:10:09.000Z (over 5 years ago)
- Last Synced: 2024-10-29T20:55:29.630Z (over 1 year ago)
- Topics: c, teocli, teonet, trudp
- Language: C
- Homepage:
- Size: 1.02 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Teonet L0 client library
[](https://www.codefactor.io/repository/github/teonet-co/teocli)
## Library folders structure description
### Sources folder
The folder ```libteol0``` contain source code of the teocli library
### Linux
The ```linux``` folder contain Makefile to make Linux shared library and
application.
_See [README](linux) in that folder to additional information._
### Python
The ```python``` folder contain make_python.sh file to make python module.
_See [README](python) in that folder to additional information._
### Java Script and Node.js
The ```TeocliJS``` suproject content code to connect to Teonet with websocket
from Java Script or Node.js.
_See the [TeocliJS](https://github.com/teonet-co/TeocliJS) project._
The ```teonet-client``` project located at nodejs folder is native node.js
module.
_See [README](nodejs) in nodejs folder to additional information._
### AngelScript (going soon)
The ```TeocliAS``` subproject content code to connect to Teonet from [AngelScript](http://www.angelcode.com/angelscript/).
_See the [TeocliAS](https://gitlab.ksproject.org/teonet/TeocliAS) project._
### Windows with MinGw-64
The ```win_mingw``` folder contain make_exe.sh file to make Windows DLL and
tests application under Linux.
_See [README](win_mingw) in that folder to additional information._
### Windows with Visual Studio
The ```win_vcxproj``` folder contain solution and projects to make Windows DLL
and tests under Windows Visual Studio.
_See [README](win_vcxproj) in that folder to additional information._
## Basic teocli example
### Test L0 client/server connection:
L0 Server: ```examples/teostream teo-str NULL NULL -p 9000 --l0_allow```
Teonet Peer: ```examples/teostream teostream teo-str str -r 9000 -a 127.0.0.1```
L0 client: ```examples/teol0cli C1 127.0.0.1 9000 teostream "Hello world!"```
or
L0 client: ```examples/teol0cli C1 127.0.0.1 9000 teo-str "Hello world!"```
### L0 Client packet structure:
