Beyond HTTP: Node.js with Unix Sockets and Named Pipes

Discover how to use Unix domain sockets and Windows named pipes in Node.js as a faster, lightweight alternative to HTTP requests for local inter‑process communication.
A typical way for programs to communicate with each other is through http, however this requires going through the network stack.

gcc on windows
https://jmeubank.github.io/tdm-gcc/

gcc on linux
sudo apt update && sudo apt install build-essential

ipc socket servers

ipc server linux nodejs

the following sets up an ipc unix domain socket server on linux in nodejs

ipc server linux c

the following sets up an ipc unix domain socket server on linux in c

ipc server windows nodejs

the following sets up an ipc named pipe server on windows in nodedjs

ipc server windows c

the following sets up an ipc named pipe server on windows in c

ipc socket clients

ipc win js

the following sets up a named pipe client on windows in nodejs

ipc client linux c

the following sets up an ipc unix domain socket client on linux in c

ipc client linux nodejs

the following sets up an ipc unix domain socket client on linux in nodejs

ipc client windows c

the following sets up an ipc unix domain socket client on windows in c