Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 713 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 713 Bytes

LibTLV

LibTLV is a TCP-based application layer protocol library, which is written in C language and based on the C11 standard. TLV is Type-Length-Value.
The core code of libtlv is based on libevent, on which a tlv server and client are implemented. Users can use libtlv to easily communicate between the server and the client.

type(char *) length(size_t) value(void *)
"type\r\n" length value

build & install

cd build
cmake ..
make
make install

Development Plan

  • IPV4
  • IPV6
  • SSL (In development)

example

License

The MIT license