C++ TCP Library - NO LONGER MAINTAINED
Clone or download
Permalink
Failed to load latest commit information.
assets/images rename logger image asset Dec 11, 2016
docs refactore the set_nb_workers in the io service (make it effectively w… Nov 26, 2017
examples [2.4.4] add calls to WSAStartup and WSACleanup in examples (#16) Jul 2, 2017
includes/tacopie fix build with mingw (#46) Jun 10, 2018
msvc15 Fix Visual C++ Compiler Warnings: (#33) Oct 31, 2017
sources Avoid unused warning on ignored return value. (#55) Sep 10, 2018
tests Download gtest from cmakelist (#5) Mar 20, 2017
.appveyor.yml Create .appveyor.yml (#29) Oct 22, 2017
.bazelrc build with bazel (#50) Aug 30, 2018
.clang-format rename library Taco Pie Nov 23, 2016
.doxygen remove private/protected/static members from documentation Sep 25, 2017
.gitignore build with bazel (#50) Aug 30, 2018
.travis.yml remove g++4.8 from travis on macos as the installation is broken and … Dec 3, 2017
BUILD.bazel build with bazel (#50) Aug 30, 2018
BUILD.gtest build with bazel (#50) Aug 30, 2018
CHANGELOG.md [3.2.0] update CHANGELOG for release Nov 14, 2017
CMakeLists.txt fix mingw compile error (#54) Sep 10, 2018
CONTRIBUTING.md rename library Taco Pie Nov 23, 2016
LICENSE update LICENCE & insert licence headers in source files. Jan 21, 2017
README.md no longer maintained message Sep 16, 2018
WORKSPACE build with bazel (#50) Aug 30, 2018
clang_format.sh initial commit with initial repository architecture + travis + readme… Oct 21, 2016
tacopie.pc.in add template for pkg-config (#51) Aug 30, 2018

README.md

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