Scroll to navigation

NANOMSG(7) nanomsg 1.2.0 NANOMSG(7)

NAME

nanomsg - scalability protocols library

SYNOPSIS

cc [flags] files -lnanomsg [libraries]

DESCRIPTION

Following functions are exported by nanomsg library:

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

Following scalability protocols are provided by nanomsg:

One-to-one protocol

Request/reply protocol

Publish/subscribe protocol

Survey protocol

Pipeline protocol

Message bus protocol

Following transport mechanisms are provided by nanomsg:

In-process transport

Inter-process transport

TCP transport

WebSocket transport

The following tool is installed with the library:

nanocat

AUTHORS

Garrett D’Amore <garrett@damore.org> Martin Sustrik <sustrik@250bpm.com>

2023-12-10