Simple and easy-to-use C++11 network library/ Supports tens of millions of concurrent connections on a single machine/ a simple C++11 network server framework. Graceful exit allows programmers to better define the exit behavior of their programs. You can better check for memory leaks with tools such as valgrind. 10 lines of code to write a complete server. Asynchronously manages network I/O and processes requests synchronously, which simplifies the writing of server processing logic. For examples, see examples/hsha.cc. Asynchronous connection management supports openssl connection, if OpenSSL is installed, and <openssl/ssl.h> can be found, the project will automatically download handy-ssl because the open-source protocol of OpenSSL is not compatible with this, so the project file is placed separately in handy-SSL. The message encode/decode example using protobuf is under protobuf. Support udp, the client of udp is used in connect mode, similar to tcp.
Features
- Tested on ubuntu14 64bit g++4.8.1
- Multi-platform support
- Simple and easy-to-use C++11 network library
- CLion IDE support
- Tested on LLVM version 6.1.0
- Support graceful exit