Skip to content

deadlightreal/SwiftNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftNet - Networking Library

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.

This library focuses on functionality over speed for now. If you need high performance for a release, consider waiting. We plan to optimize performance once the library is stable and feature-complete.

If you intend to use this library, please note that it has not been fully tested for public packet transmissions and will probably not work. These early versions are mainly for local testing and development.

Supported Platforms

  • Apple Silicon (macOS arm64)
  • Linux arm64

Features

  • 💡 Ease of Use: Simple API designed to get up and running quickly, without needing to deal directly with raw sockets.
  • 📂 Lightweight: No dependencies and a small footprint.

Why Use SwiftNet?

  • Straightforward API: Get up and running with minimal setup.
  • Open Source and Collaborative: Contributions are welcome to make it even better.

Installation

Follow these steps to install SwiftNet:

  1. Clone the repository to your local machine:
git clone https://github.com/deadlightreal/SwiftNet
  1. Navigate to the build directory inside the SwiftNet directory:
cd SwiftNet/build
  1. Generate the build files using CMake:
cmake ../src
  1. Build the project using Make:
make
  1. 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 libswiftnet.a using your compiler.

Contributing

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.

Code Contributions

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!

License

This project is licensed under the Apache License 2.0

Contact

For any questions or support, feel free to open an issue or contact me at [[email protected]].

About

A networking library in C

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published