Skip to content

backlly/network

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network

学习asio的最多、最全、最有用、最容易学会的例子,功能与asio的examples不重叠。

git clone --recursive https://github.com/franktea/network.git;
cd network;
mkdir -p build;
cmake ..;
make

projects

Httpclient is a simple httpclient

httpclient-https is a simple httpclient, with https supported

socks5-daemon is a simple socks5 server implemention

fixed-size-package shows how to send and receive packets of a fixed-length header. Endianness is not considered in the code.

redis-asio is a simple redis client implemention.

io_context example of io_context, shows how to use run/poll/dispatch/post

simplest_httpsvr is trying to make a simplest http svr

custom_errorcode shows how to make custom error_code in asio

custom_timer_manager shows how to make a custom timer manager for asio

protobuf_rpc shows how to implement a simple rpc framework of protobuf 2.x

echo_client async echo client, which is not included in asio examples

asio_libcurl demonstrate how to integrate asio with libcurl, the old example is kinda too old, and has some bugs.

About

asio examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.3%
  • CMake 3.8%
  • Other 0.9%