Skip to content

cpp-redis/tacopie

Folders and files

NameName
Last commit message
Last commit date
Dec 11, 2016
Nov 26, 2017
Jul 2, 2017
Mar 12, 2019
Oct 31, 2017
Mar 12, 2019
Mar 20, 2017
Oct 22, 2017
Aug 30, 2018
Nov 23, 2016
Sep 25, 2017
Aug 30, 2018
Dec 3, 2017
Aug 30, 2018
Aug 30, 2018
Nov 14, 2017
Sep 10, 2018
Nov 23, 2016
Jan 21, 2017
Sep 16, 2018
Aug 30, 2018
Oct 21, 2016
Aug 30, 2018

Repository files navigation

Important

Please be advised that this library is no longer maintained.

I have maintained this library for over 2 years, but I do not have enough time to provide a reliable support and continuous development for any longer.

Any existing or new issues will not be treated and I do not guarantee to merge any new pull request.

If anyone is willing to take over this project, feel free to fork this project and message me to add a link to your fork in this README.

Taco Pie Build Status Build status

tacopie is a multi-platform TCP Client & Server C++11 library.

Requirement

tacopie has no dependency. Its only requirement is C++11.

Example

tacopie::tcp_server:

tacopie::tcp_server s;
s.start("127.0.0.1", 3001, [] (const std::shared_ptr<tacopie::tcp_client>& client) -> bool {
  std::cout << "New client" << std::endl;
  return true;
});

tacopie::tcp_server full documentation and detailed example.

tacopie::tcp_client:

tacopie::tcp_client client;
client.connect("127.0.0.1", 3001);
client.async_read({ 1024, [&] (tacopie::tcp_client::read_result& res) {
  client.async_write({ res.buffer, nullptr });
} });

tacopie::tcp_client full documentation and detailed example.

Wiki

A Wiki is available and provides full documentation for the library as well as installation explanations.

Doxygen

A Doxygen documentation is available and provides full API documentation for the library.

License

tacopie is under MIT License.

Contributing

Please refer to CONTRIBUTING.md.

Author

Simon Ninon

Packages

No packages published

Languages

  • C++ 91.4%
  • CMake 6.6%
  • Python 1.9%
  • Shell 0.1%