SwiftNet is a simple and easy-to-use networking library built using raw sockets. It is designed for developers who value simplicity, readability, and good performance.
- 💡 Ease of Use: Simple API designed to get up and running quickly, without needing to deal directly with raw sockets.
- 🚀 High Performance: Optimized for speed while maintaining readability.
- 📂 Lightweight: Minimal dependencies and a small footprint.
- Straightforward API: Get up and running with minimal setup.
- Solid Performance: Efficient handling of networking tasks.
- Open Source and Collaborative: Contributions are welcome to make it even better.
Follow these steps to install SwiftNet:
- Clone the repository to your local machine:
git clone https://github.com/deadlightreal/SwiftNet
- Navigate to the build directory inside the SwiftNet directory:
cd SwiftNet/build
- Generate the build files using CMake:
cmake ../src
- Build the project using Make:
make
- To use SwiftNet in your project:
- Include the SwiftNet.h header from the
src
directory in your main source file (e.g.,main.c
). - Link against the static library
libswift_net.a
using your compiler.
Contributions are very welcome! If you'd like to improve the library or fix any issues, feel free to fork the repository and submit a pull request.
We have simple guidelines for contributing:
- Write clear and concise comments for your code.
- Ensure that the code is easy to read and follows the existing style.
We value collaboration and clean code!
This project is licensed under the Apache License 2.0
For any questions or support, feel free to open an issue or contact me at [richardfabianmain@gmail.com].