An open API service indexing awesome lists of open source software.

https://github.com/altanis/netc

A cross-platform networking library written in C.
https://github.com/altanis/netc

Last synced: 2 months ago
JSON representation

A cross-platform networking library written in C.

Awesome Lists containing this project

README

        

# netc

A POSIX compliant networking library for TCP, UDP, HTTP, and WS sockets. Written in C.

## Prerequisites:
This library requires OpenSSL for SHA1 functionality.

## Features:

- [X] TCP/UDP Server and Client
- [X] Blocking and Non-Blocking Mode
- [X] HTTP/1.1 Abstraction
- [X] Server
- [X] Routing
- [X] Query String Decoding
- [X] URL Percent Encoding/Decoding
- [X] Wildcards
- [X] Chunked Encoding
- [X] Binary Data
- [X] Keep Alive
- [ ] Timeout
- [ ] Compression/Decompression
- [X] Client
- [X] URL Percent Encoding/Decoding
- [X] Query String Encoding
- [X] Chunked Encoding
- [X] Binary Data
- [X] Keep Alive
- [ ] Compression/Decompression
- [ ] WebSocket Abstraction
- [x] Multi-Framed Messages
- [x] Masked Messages
- [x] Ping/Pong
- [ ] Extensions (RSV Bits)
- [ ] Threadpool
- [ ] SSL/TLS Support (for HTTP/1.1 and WS Client)

- [ ] Windows Support
- [ ] Buffering
- [ ] HTTP/2 Abstractions
- [ ] HTTP/3 and QUIC Abstractions

## Usage:

For usage and documentations, please [refer to this folder for documentation and usage guide](https://github.com/Altanis/netc/tree/main/docs).