Skip to content
/ netc Public

A cross-platform networking library written in C.

License

Notifications You must be signed in to change notification settings

Altanis/netc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A cross-platform networking library written in C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published