How to use pipes, sockets, and shared memory

Build Pipehaven, IPC mechanisms with small demos with pipes, sockets, shm.

  • Difficulty Intermediate
  • Parts 10
  • Stack pipes, sockets, shm

What you are learning

Pipehaven is IPC mechanisms with small demos. The teaching focus is IPC (pipes, sockets, shm).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Pipehaven GitHub repo →

Parts in order

Each chapter below is one checkpoint in this lab.