An open API service indexing awesome lists of open source software.

https://github.com/nixman/easynet

The wrappers on top of boost.asio
https://github.com/nixman/easynet

boost-asio cplusplus cplusplus-11 cplusplus-14 cplusplus-17 networking tcp-socket timer udp-socket

Last synced: about 1 year ago
JSON representation

The wrappers on top of boost.asio

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/niXman/yas.svg?branch=master)](https://travis-ci.org/niXman/easynet)

easynet
=======

The wrappers on top of [boost.asio](https://www.boost.org/doc/libs/1_69_0/doc/html/boost_asio.html)

examples
=======
1. [acceptor1](https://github.com/niXman/easynet/blob/master/examples/acceptor1/acceptor1.cpp) - synchronous echo server
2. [acceptor2](https://github.com/niXman/easynet/blob/master/examples/acceptor2/acceptor2.cpp) - synchronous echo server
3. [acceptor3](https://github.com/niXman/easynet/blob/master/examples/acceptor3/acceptor3.cpp) - asynchronous echo server with async accept & accept handler
4. [acceptor4](https://github.com/niXman/easynet/blob/master/examples/acceptor4/acceptor4.cpp) - asynchronous echo server class with async accept & accept handler as member-function
5. [acceptor5](https://github.com/niXman/easynet/blob/master/examples/acceptor5/acceptor5.cpp) - asynchronous echo server class with async accept & session class
6. [socket1](https://github.com/niXman/easynet/blob/master/examples/socket1/socket1.cpp) - asynchronous echo client with read/write handlers and test for socket's read/write queue
7. [socket2](https://github.com/niXman/easynet/blob/master/examples/socket2/socket2.cpp) - asynchronous echo client class with read/write handlers as member-fucntion
8. [socket3](https://github.com/niXman/easynet/blob/master/examples/socket3/socket3.cpp) - the same as above with minor diffs
9. [socket4](https://github.com/niXman/easynet/blob/master/examples/socket4/socket4.cpp) - the same as above with minor diffs
10. [socket5](https://github.com/niXman/easynet/blob/master/examples/socket5/socket5.cpp) - asynchronous echo client class with read_some/write_some handlers as member-fucntion
10. [socket6](https://github.com/niXman/easynet/blob/master/examples/socket6/socket6.cpp) - asynchronous echo client class that uses `std::enable_shared_from_this<>` by inheritance with read_some/write_some handlers as member-fucntion
10. [timer1](https://github.com/niXman/easynet/blob/master/examples/timer1/timer1.cpp) - timer class that uses `std::enable_shared_from_this<>` by inheritance