For Developers
Overview
Mongoose Premium is a multi-protocol network library written in C. It provides an easy to use event-driven interface that allows you to implement network protocols or scalable network applications with little effort. Mongoose Premium relieves developers from the burden of network programming complexity and lets them concentrate on the logic; saving time and money. Mongoose Premium has built-in support for several protocols: HTTP, WebSocket, MQTT, JSON-RPC and is ideal for embedded environments. Mongoose Premium has been designed as an open source platform for connecting devices and bringing them online.
Features
- Cross-platform: Linux/UNIX, QNX, eCos, Windows, Android, iPhone and many other environments
- Asynchronous, non-blocking core with simple event-based API
- Built-in protocols:
- plain TCP, plain UDP, SSL/TLS (over TCP, one-way or two-way
- HTTP client, HTTP server
- WebSocket client & WebSocket server
- JSON-RPC client & JSON-RPC server
- MQTT client, MQTT broker
- CoAP client, CoAP server
- DNS client (async resolver), DNS server
- Simple and clean embedding API. The source is in single file to make embedding easy
- Extremely lightweight, core is under 40kB and minimal runtime footprint
- Source code is both ISO C and ISO C++ compliant