Skip to content

teonet-go/teonet-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teonet-c

Teonet v5 C library and examples.

Teonet v5 C

Teonet is designed to create client-server systems and build networks for server applications operating within a microservice architecture.

Main Teonet v5 code was created on Golang. This project make c/c++ dynamic library to use it in any C/C++ and C compatible applications.

The description of Teonet you can find at main Teonet-go page.

The examples of this project copy Teonet-go examples functional. So look this project examples to get started with teonet-c library: examples

Contents

Make library and examples

To make Teonet-c library from sources you need install git go gcc and make applications on you computer.

Clone this repository to you project folder:

cd project_folder
git clone https://github.com/teonet-go/teonet-c.git
cd teonet-c

There is Makefile, use make command to execute it.

To build library use:

make build-library
sudo make ldconfig

To build examples use:

make build

After this you can run examples from projects root folder.
Run the C++ API message mode client:

./cmd/cpp/api/teoapi-cpp

License

BSD