mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-04 01:39:01 +08:00
6e3e5560d0
PUBLISHED_FROM=ebf5568abe82952ab2751298185a10189098013f
30 lines
1.3 KiB
Markdown
30 lines
1.3 KiB
Markdown
# Introduction
|
|
|
|
Mongoose is a networking library written in C.
|
|
It is a swiss army knife for embedded network programming.
|
|
It implements event-driven non-blocking APIs for TCP, UDP, HTTP,
|
|
WebSocket, CoAP, MQTT for client and server mode.
|
|
Features include:
|
|
|
|
- Cross-platform: works on Linux/UNIX, MacOS, QNX, eCos, Windows, Android,
|
|
iPhone, FreeRTOS
|
|
- Native support for [PicoTCP embedded TCP/IP stack](http://www.picotcp.com),
|
|
[LWIP embedded TCP/IP stack](https://en.wikipedia.org/wiki/LwIP)
|
|
- Works on a variety of embedded boards: TI CC3200, TI MSP430, STM32, ESP8266;
|
|
on all Linux-based boards like Raspberry PI, BeagleBone, etc
|
|
- Single-threaded, asynchronous, non-blocking core with simple event-based API
|
|
- Built-in protocols:
|
|
- plain TCP, plain UDP, SSL/TLS (one-way or two-way), client and server
|
|
- HTTP client and server
|
|
- WebSocket client and server
|
|
- MQTT client and server
|
|
- CoAP client and server
|
|
- DNS client and server
|
|
- asynchronous DNS resolver
|
|
- Tiny static and run-time footprint
|
|
- Source code is both ISO C and ISO C++ compliant
|
|
- Very easy to integrate: just copy
|
|
[mongoose.c](https://raw.githubusercontent.com/cesanta/mongoose/master/mongoose.c) and
|
|
[mongoose.h](https://raw.githubusercontent.com/cesanta/mongoose/master/mongoose.h)
|
|
files to your build tree
|