Skip to the content.

cpp-tcpnet

cpp-tcpnet is a robust, cross-platform, header-only C++ library for TCP client and server networking. It uses cpp-pubsub for event dispatching and provides easy-to-use, non-blocking networking capabilities.

Key Features

Documentation Pages

Welcome to the cpp-tcpnet documentation! Please follow the guide below to learn how to integrate and use the library:

  1. Getting Started Learn how to integrate cpp-tcpnet into your project via CMake or direct inclusion.

  2. Basic Usage Learn how to start a TCP server and handle incoming connections.

  3. Advanced Usage Learn how to connect a TCP client and handle asynchronous messaging.

  4. Performance Metrics Learn how to monitor network statistics and track real-time throughput.

  5. Architecture & Examples Understand the architecture behind the library and its multi-threaded event loop.


Start Reading: Getting Started >