Skip to content

Latest commit

 

History

History
45 lines (39 loc) · 1.33 KB

README.md

File metadata and controls

45 lines (39 loc) · 1.33 KB

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:

  • TCP/UDP Server and Client
  • Blocking and Non-Blocking Mode
  • HTTP/1.1 Abstraction
    • Server
      • Routing
      • Query String Decoding
      • URL Percent Encoding/Decoding
      • Wildcards
      • Chunked Encoding
      • Binary Data
      • Keep Alive
        • Timeout
      • Compression/Decompression
    • Client
      • URL Percent Encoding/Decoding
      • Query String Encoding
      • Chunked Encoding
      • Binary Data
      • Keep Alive
      • Compression/Decompression
  • WebSocket Abstraction
    • Multi-Framed Messages
    • Masked Messages
    • 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.