Fossil Network is a lightweight, high-performance, and cross-platform sockets library written entirely in pure C. Designed with efficiency and portability in mind, it provides developers with a robust foundation for building reliable networked applications across a wide range of platforms—from desktop operating systems to embedded systems. With zero external dependencies and a focus on non-blocking, event-driven networking, Fossil Network simplifies socket programming while maintaining a minimal footprint.
Key Features #
Cross-Platform Support #
Fossil Network works seamlessly across Windows, macOS, Linux, and embedded platforms. The library abstracts platform-specific socket details, enabling developers to write portable networking code without worrying about operating system differences.
Zero External Dependencies #
Implemented entirely in pure C, Fossil Network has no external library requirements. This guarantees maximum portability, easier auditing, and smooth integration into existing projects or custom build systems.
Multi-Protocol Support #
The library supports TCP, UDP, and multicast protocols, making it suitable for a wide range of networking scenarios—from reliable client-server communication to lightweight broadcast or multicast messaging.
Non-Blocking & Event-Driven I/O #
Fossil Network is designed for modern, event-driven networking. It provides non-blocking I/O operations, connection timeouts, and flexible event callbacks, allowing applications to efficiently handle multiple concurrent connections without blocking the main thread.
Lightweight and Efficient #
Optimized for minimal memory and CPU usage, Fossil Network is ideal for embedded or resource-constrained environments, where every byte and cycle counts. Its low-level, minimalistic design ensures that your network stack adds negligible overhead.
Modular Design #
With a modular architecture, Fossil Network can be easily integrated into existing projects, extended for custom protocols, or adapted for specialized networking requirements. Its clear API and small code footprint make it simple to adopt or modify.
Use Cases #
- High-performance client-server applications
- Embedded IoT devices requiring network communication
- Multiplayer games and real-time applications
- Multicast and broadcast messaging systems
- Custom network protocol development
Getting Started #
Integration is straightforward: simply include the Fossil Network headers and link against its source files. The library provides clear abstractions for creating sockets, managing events, and sending/receiving data across multiple protocols.
Documentation & Support #
Full documentation, examples, and tutorials are provided to help developers quickly get started with Fossil Network. The library is actively maintained and welcomes contributions from the open-source community.
Fossil Network empowers developers to build robust, efficient, and portable networked applications without the overhead or complexity of heavier networking frameworks.