NANOMSG(7)
β¨ NANOMSG β¨
okay bestie, sit DOWN because we're talking about nanomsg β the scalability protocols library, manual page 7, version 1.2.2, and it's giving absolute legend behavior π
π SYNOPSIS π
like, how do you even link this thing? here's the vibe:
cc [flags] files -lnanomsg [libraries]
yes queen, just slap -lnanomsg on there and go π¦
πΈ DESCRIPTION πΈ
so the nanomsg library exports a whole squad of functions, and I'm about to introduce you to every single one because nobody gets left out in this group chat π
π«Ά Functions exported by nanomsg
Create an SP socket
Close an SP socket
Set a socket option
Retrieve a socket option
Add a local endpoint to the socket
Add a remote endpoint to the socket
Remove an endpoint from the socket
Send a message
Receive a message
Fine-grained alternative to nn_send
Fine-grained alternative to nn_recv
Allocation of messages
Manipulation of message control data
Multiplexing
Retrieve the current errno
Convert an error number into human-readable string
Query the names and values of nanomsg symbols
Query properties of nanomsg symbols
Query statistics on a socket
Start a device
Notify all sockets about process termination
Environment variables that influence nanomsg work
π Scalability protocols provided by nanomsg
these are the personalities of nanomsg, no cap:
One-to-one protocol
Request/reply protocol
Publish/subscribe protocol
Survey protocol
Pipeline protocol
Message bus protocol
π¦ Transport mechanisms provided by nanomsg
how the messages actually travel, iconic behavior honestly:
In-process transport
Inter-process transport
TCP transport
WebSocket transport
π The tool installed with the library
nanocat
π AUTHORS π
the masterminds, the main characters, the ones who ATE and left no crumbs:
- Garrett DβAmore
<garrett@damore.org> - Martin Sustrik
<sustrik@250bpm.com>
and that's the whole page bestie, go forth and multiplex responsibly π§β¨
signing off from nanomsg 1.2.2, dated 2026-01-16 β periodt π
π
π¦ where this page comes from
- fedora 44: nanomsg-devel 1.2.2-2.fc44 Β· MIT
- fedora 44: nanomsg-devel 1.2.2-2.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms