Skip to content
C++ TCP Library
Branch: hunter
Clone or download
Pull request Compare This branch is 2 commits ahead, 15 commits behind Cylix:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/images
cmake
docs
examples
includes/tacopie
msvc15
sources
tests
.appveyor.yml
.clang-format
.doxygen
.gitignore
.travis.yml
CHANGELOG.md
CMakeLists.txt
CONTRIBUTING.md
LICENSE
README.md
clang_format.sh

README.md

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

You can’t perform that action at this time.