Small, modern C++ library for networking (sockets, serialization,...)
I was working on some projects where all that stuff was written and I thought sharing it might be useful for somebody out there wrestling with native network programming.
- Object oriented socket programming.
- Object oriented and polymorphic stream concept, that allows you to read/write binary data from/to different kinds of storages (MemoryStream - memory, NetworkStream - network, sockets).
- Serialization/deserialization of primitive data types to/from streams.
- Compressing/decompressing data streams.
- Object queue, that provides data sharing and communication between multiple threads.
- Some time functionalities like getting the current local time, comparing times and working with time spans.
- The ability for the user to add further functionality to the polymorphic structure.
You will probably notice, that I often used debug asserts to ensure detection of all errors. Feel free to remove them, if they bother you.