IT lexicon › Networking › lwIP

lwIP

Networking På svenska → Updated: 2026-11-03
More info
Creator
Adam Dunkels
Released
2001
Type
TCP/IP stack
License
BSD
Website
savannah.nongnu.org

A small TCP/IP stack for microcontrollers that gets by on tens of kilobytes of RAM.

Adam Dunkels wrote lwIP (lightweight IP) at the Swedish Institute of Computer Science, with the first release in 2001. He also wrote the even smaller uIP and the Contiki operating system, which means an unusually large share of the world's connected gadgets speak TCP thanks to one Swedish researcher.

The stack offers three interfaces: a raw callback API that runs with no operating system at all, a thread-based netconn API, and a BSD-style sockets API on top of an RTOS. Packets live in chained buffers (pbuf) to avoid copying. lwIP ships inside ESP-IDF for the ESP32 and in ST's STM32 software packs, making it one of the most widely deployed network stacks that almost nobody can name.

← Back to the lexicon