Skip to content
nahaoPublic
forked from q191201771/chef_cc

About

linux c++ epoll multi-thread net io lib

Resources

Stars

0 stars

Watchers

10 watching

Forks

 
 

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

@dependence
  1. boost
    $sudo apt-get install liboost1.53-dev -y
    $sudo apt-get install liboost1.53-all-dev -y
  2. cmake
    $sudo apt-get install cmake -y
  3. c++11(now gcc version contain it already)

@build
  $cd build
  $cmake . && make

  @build out:
    libchefbase.a libchefio.a in chef/lib/
    test&example in chef/bin/

@brief
  @the only io interface header: chef_io/io_tcp.h
   and you can get more user-manual in it

  @wanna use gcc to build your own server with chef?
    1. build chefio chefbase(follow the above operation)
    2. use test_chef_io/test_srv.cc for demonstration
      $cd test_chef_io
      $g++ test_srv.cc -I../chef_io -I../chef_base -std=c++11 -L../lib -lchefio -lchefbase -lboost_thread -lboost_system -lboost_date_time -o test_srv
      $./test_srv

  @chef_base is an set of linux c++ tool,i pefer boost now.

About

linux c++ epoll multi-thread net io lib

Resources

Stars

0 stars

Watchers

10 watching

Forks

Releases

Packages

Contributors