Home

Awesome

<p align="left"><img width="500" src="./doc/image/logo.png" alt="cppnet logo"></p> <p align="left"> <a href="https://travis-ci.org/caozhiyi/CppNet"><img src="https://travis-ci.org/caozhiyi/CppNet.svg?branch=master" alt="Build Status"></a> <a href="https://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-bsd-orange.svg" alt="Licenses"></a> </p>

See chinese
See the details in chinese wiki

Introduction

Cppnet is a proactor mode and multithreaded network with C++11 on tcp. Support Window, Linux and macOS.

Quick Start

Quick use of cppnet and precautions, see quick start.

Interface

cppnet has three types of external interfaces, which are also defined in three header files

For details, see API.

Example

All simples are in test:

Efficiency

Apache ab is used to pressure test the http test service in the test directory, and compared with muduo.
For details, see ab benchmark

Build

Look at Build

Licenses

This program is under the terms of the BSD 3-Clause License. For details, see BSD-3-Clause.