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
- Host: GitHub
- URL: https://github.com/nixman/easynet
- Owner: niXman
- License: mit
- Created: 2014-12-14T17:18:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T23:05:14.000Z (over 2 years ago)
- Last Synced: 2025-01-20T15:59:51.257Z (over 1 year ago)
- Topics: boost-asio, cplusplus, cplusplus-11, cplusplus-14, cplusplus-17, networking, tcp-socket, timer, udp-socket
- Language: C++
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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