A cross platform network library(support Windows and Linux), using c++11(use some C++17 feature), no third ilb is depended.
- support linux and Windows
- multi-thread safety and high performance
- none extention depend
- ipv6 support
- OpenSSL support(use macro USE-OPENSSL when compiling)
- support http, websocket, https
##Documentation
- pingpongclient
- pingpongserver
- broadcastclient
- broadcastserver
- httpdownload
- See more examples in examples
- Visual C++ 2013+ on Windows (32/64-bit)
- GCC 4.8+ on Linux (32/64-bit)
- Not Support Mac OS X
This library uses three ways to identify one session(also is three way to use this library).
- First, use raw pointer named DataSocket, combined with EventLoop.
- Second, use int64_t number identify one session, use TCPService which wraps DataSocket of first layer.
- Thrid, use smart pointer named TCPSession::PTR, combined with WrapTcpService, you can control session by TCPSession::PTR
The third way is strongly recommanded.