Skip to content
forked from caozhiyi/CppNet

Cross platform network library with C++11

Notifications You must be signed in to change notification settings

liangwode/CppNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e0b7b6e · Aug 31, 2019

History

72 Commits
Aug 31, 2019
Aug 31, 2019
Aug 31, 2019
Aug 10, 2019
Aug 30, 2019
Aug 31, 2019
Aug 31, 2019
Aug 17, 2019
Aug 10, 2019
Aug 31, 2019
Aug 10, 2019
Aug 29, 2019
Jun 11, 2018
Aug 10, 2019
Aug 27, 2019
Aug 27, 2019

Repository files navigation

cppnet logo

Build Status Licenses

Introduction

CppNet is a multithreaded network with C++11.
It can run on Linux and Windows based on epoll and IOCP.
The base module encapsulates some basic components, includeing:
thread operations base class:(https://blog.csdn.net/u012778714/article/details/80557100),
log Printing:(https://blog.csdn.net/u012778714/article/details/80557596),
message queue:(https://blog.csdn.net/u012778714/article/details/80557596),
memory pool:(https://blog.csdn.net/u012778714/article/details/80299475),
smart pointer on memory pool:(https://blog.csdn.net/u012778714/article/details/80503634),
time tool:(https://blog.csdn.net/u012778714/article/details/80557761).

Network module abstract common interfaces over operating systems,
All operations are encapsulated in two stages, requests and callbacks.

Example

See CppNetClient and CppNetClient.
Interface of operating library is in CppNet.
Interface of network operating is in Socket.

Build(Windows)

You can compile with vs2017.

Build(Linux)

only make, build cppnet library and example.

$ make

Licenses

This program is under the terms of the BSD 3-Clause License. See https://opensource.org/licenses/BSD-3-Clause.

About

Cross platform network library with C++11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.9%
  • Makefile 1.5%
  • Other 0.6%