Skip to content

Small, modern C++ library for networking (sockets, serialization,...)

Notifications You must be signed in to change notification settings

moritzrinow/ezNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezNet

Small, modern C++ library for networking (sockets, serialization,...)

This library is still in development.

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.

!!!ezNet is currently only compatible with Windows!!!

What ezNet offers:

  1. Object oriented socket programming.
  2. 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).
  3. Serialization/deserialization of primitive data types to/from streams.
  4. Compressing/decompressing data streams.
  5. Object queue, that provides data sharing and communication between multiple threads.
  6. Some time functionalities like getting the current local time, comparing times and working with time spans.
  7. The ability for the user to add further functionality to the polymorphic structure.

Notes

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.