-
Notifications
You must be signed in to change notification settings - Fork 3
Home
czspas (Small Portable Asynchronous Sockets) is minimalistic socket library inspired by Asio/Boost Asio, implemented in 1 single header file.
Features:
- Currently works on Windows and Linux.
- Should be easy to port to any platform that supports BSD sockets.
- No external dependencies.
- Small codebase
- Asynchronous Asio-like API.
- Only IPv4 at the moment.
czspas was created with the intent of being used where a simple asynchronous TCP api is needed, but adding a dependency on something like Boost Asio (or Asio standalone) is overkill.
It was originally created for https://bitbucket.org/ruifig/czrpc to remove the dependency on Asio.
There is nothing to build. Just include spas.h
(found in source\crazygaze\spas\
) in your probject.
Visual Studio 2015 or higher is required on Windows. On Linux, any recent version of gcc/clang should work.
If you like czspas (or any of my other open source libraries), consider helping out with donations:
Intro
Examples
API