C++ 11 KISS principle networking library.
Upstream at https://github.com/Lichtso/netLink
This repo is meant for customization for use in project. We chose this solution as a thin and easilly customizable
(KISS principle) abstraction layer over the platform-dependent TCP and UDP APIs for a starting point.
- C++ 11
- IPv4, IPv6
- Protocols: TCP, UDP
- Enable/Disable blocking mode
- Join/Leave UDP-Multicast groups
- UDP-IPv4-Broadcast
- Operating Systems: Mac OS, Linux, Windows
- MsgPack v5 support: http://msgpack.org so it can communicate with programs running in other programming languages
- Optional: Upgrade std::string with UTF8 support
- Socket can be used as std::streambuf
- SocketManager calls various events for (dis)connecting, receiving data, connection requests and status changes
- Event callbacks: onConnectRequest, onStatusChange, onReceiveRaw, onReceiveMsgPack