Code Monkey home page Code Monkey logo

network's Introduction

network

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

git clone 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.

use_awaitable_as_default demonstrate how to eliminate writing use_awaitable everytime.

network's People

Contributors

franktea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.