/libnet

A simple noblocking TCP framework with some demos(memcached server/client , http server) imitate muduo.

Primary LanguageC++

A simple noblocking TCP Server imitate muduo.

environment

  • g++
  • c++11 (function、shared_ptr、unique_ptr、move)

build

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug/Release ..
make 
make test

feature

  • select/poll/epoll
  • use std::map to achieve the timer
  • http server module
  • memcached client/server/proxy module (support partial text protocol)

example

dependent libraries