Cesanta Blog - Mongoose Web Server Library
  • Home

Mongoose Library

A collection of 21 posts

Mongoose Library

electronica Embedded Platforms Conference, November 16, 2022 - Munich

Cesanta is presenting a technical talk @ electronica Embedded Platforms Conference in Munich. Come to our talk at 10:30am, November 16th, 2022 as part of the Communication & Wireless session. Topic: “HTTP server

  • Toly Lebedev
    Toly Lebedev
1 min read
Mongoose Web Server

Open Source Software: free vs. commercial licensing

The open source movement has significantly changed the software industry over the last decade. Nowadays, open source projects are available for almost any functionality you can imagine. That gives everybody a lot of

  • Toly Lebedev
    Toly Lebedev
3 min read
Mongoose Library

3 Straightforward Code Examples To Get Your Devices Connected

If you had to connect a device you are working with, maybe a home appliance, thermostat or software application, and were looking for a solution with a low footprint, where would you start?

  • Toly Lebedev
    Toly Lebedev
7 min read
Mongoose Library

Mongoose - More than an Embedded Web Server

Mongoose is known as one of the best embedded web servers currently available. From starting as a single-click-to-run executable to now being an embedded networking library. Read on to find out how it

  • Toly Lebedev
    Toly Lebedev
3 min read
ESP8266

Running on ESP8266 [Mongoose more than an Embedded Web Server]

ESP8266 is a very affordable single chip WiFi solution, with a fairly capable CPU core on board. It came onto the scene in 2014 and made a pretty big splash. We prepared a

  • Toly Lebedev
    Toly Lebedev
2 min read
Mongoose Web Server

How to add your protocol to Mongoose Embedded Web Server

Mongoose Embedded Web Server supports a lot of protocols. We think we’ve added the most popular ones like HTTP, WebSocket, MQTT and more. But, there are many protocols that aren’t supported.

  • Toly Lebedev
    Toly Lebedev
5 min read
Mongoose Library

Cookie authentication and session management [Mongoose more than an Embedded Web Server]

Cookie authentication and session management are important for web applications. Mongoose Embedded Web Server supports basic and digest authentication, which gets the job done, but, it doesn’t let web app control the

  • Toly Lebedev
    Toly Lebedev
3 min read
Mongoose Web Server

Pub Sub Example [Mongoose more than an Embedded Web Server]

In this blogpost, we are going to show you how easy it is to implement a Publish/Subscribe pattern with Mongoose using plain TCP protocol. As always, the full source code of this

  • Toly Lebedev
    Toly Lebedev
3 min read
Mongoose Library

Mongoose and multi-threading [Mongoose more than an Embedded Web Server]

Many users ask us how Mongoose Embedded Web Server can be used in a multi-threaded environment. It is not trivial, and today we’ll show you how to do it correctly. Mongoose manager

  • Toly Lebedev
    Toly Lebedev
1 min read
Mongoose Library

RESTful Server Example [Mongoose more than an Embedded Web Server]

In this blog post we will demonstrate how Mongoose can be used to implement a RESTful server. We’ll set up a key-value database server. This simple server can do three operations: Get(

  • Toly Lebedev
    Toly Lebedev
2 min read
Mongoose Web Server

Big Upload Example [Mongoose more than an Embedded Web Server]

Do you want to upload files of any size simply and joyously? You definitely need Mongoose. Here’s how you do it, step by step: First of all, we need a web page

  • Toly Lebedev
    Toly Lebedev
2 min read
Mongoose Library

HVAC And Mongoose Embedded Web Server - Tutorial

Receiving real-time data from heating or cooling equipment is a must for many customers of HVAC businesses (Heating, Ventilation, and Air Conditioning). A manufacturing plant may need to monitor the cooling units on

  • Toly Lebedev
    Toly Lebedev
4 min read
Mongoose Library

Netcat Example [Mongoose more than an Embedded Web Server]

Netcat is a well known networking tool that can do tons of things. Arguably, the most common use case is reading data from a remote TCP or UDP endpoint and write it to

  • Toly Lebedev
    Toly Lebedev
1 min read
Mongoose Web Server

Mongoose Web Server version 6.18 released

Mongoose Embedded Web Server Library v.6.18 released.

  • Toly Lebedev
    Toly Lebedev
1 min read
Mongoose Library

RESTful client example [Mongoose more than an Embedded Web Server]

In this blogpost, we are going to show you how easy it is to implement a RESTful client with Mongoose. As always, the full source code of this example is available on Github.

  • Toly Lebedev
    Toly Lebedev
1 min read
Mongoose Web Server

Upload files to Amazon S3 [Mongoose more than an Embedded Web Server]

In this blogpost we are going to show you how to use Mongoose to file upload to Amazon S3 service. In essence, this is an example on how to make a RESTful service

  • Toly Lebedev
    Toly Lebedev
3 min read
Mongoose Web Server

Embedded Web Server: Security risks & the importance of keeping software up to date

In this article, we describe the importance of keeping software (especially networking software) up-to-date. ROM Pager web server vulnerabilityA good illustration of the issue is a story with the ROM Pager web server.

  • Toly Lebedev
    Toly Lebedev
2 min read
Mongoose Web Server

Why we write numbers in big endian

At some point, I was working on a deep packet inspection and database for storing network statistics. For the database, I needed a lightweight big numbers library, and I rolled out my own.

  • Toly Lebedev
    Toly Lebedev
2 min read
JSON-RPC

JSON-RPC Example [Mongoose more than an Embedded Web Server]

JSON-RPC is a protocol that allows you to execute some commands remotely, pass arguments to these commands and get the results back. Both requests and responses are JSON encoded. Here is a typical

  • Toly Lebedev
    Toly Lebedev
2 min read
JSON-RPC

JSON schema and code generation

One of our goals is to build a communication platform for devices to connect to the cloud. For it to be of any use, it must be programming language agnostic and easy to

  • Toly Lebedev
    Toly Lebedev
3 min read
Mongoose Web Server

Mongoose Web Server version 6.17 released

Dublin, February 11th, 2020 — Cesanta today announced release of Mongoose Embedded Web Server Library v.6.17. Changes include: An integer overflow bug in parse_mqtt() is fixed. This is a fix for

  • Toly Lebedev
    Toly Lebedev
1 min read
Cesanta Blog - Mongoose Web Server Library © 2023
Latest Posts Ghost