nanomsg - Man Page

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

nn_send(3)

Receive a message

nn_recv(3)

Fine-grained alternative to nn_send

nn_sendmsg(3)

Fine-grained alternative to nn_recv

nn_recvmsg(3)

Allocation of messages

nn_allocmsg(3) nn_reallocmsg(3) nn_freemsg(3)

Manipulation of message control data

Multiplexing

nn_poll(3)

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

nn_reqrep(7)

Publish/subscribe protocol

nn_pubsub(7)

Survey protocol

nn_survey(7)

Pipeline protocol

nn_pipeline(7)

Message bus protocol

nn_bus(7)

Following transport mechanisms are provided by nanomsg:

In-process transport

Inter-process transport

nn_ipc(7)

TCP transport

nn_tcp(7)

WebSocket transport

nn_ws(7)

The following tool is installed with the library:

nanocat

Authors

Garrett D’Amore Martin Sustrik

Referenced By

nanocat(1), nn_allocmsg(3), nn_bind(3), nn_bus(7), nn_close(3), nn_cmsg(3), nn_connect(3), nn_device(3), nn_env(7), nn_errno(3), nn_freemsg(3), nn_getsockopt(3), nn_get_statistic(3), nn_inproc(7), nn_ipc(7), nn_pair(7), nn_pipeline(7), nn_poll(3), nn_pubsub(7), nn_reallocmsg(3), nn_recv(3), nn_recvmsg(3), nn_reqrep(7), nn_send(3), nn_sendmsg(3), nn_setsockopt(3), nn_shutdown(3), nn_socket(3), nn_strerror(3), nn_survey(7), nn_symbol(3), nn_symbol_info(3), nn_tcp(7), nn_term(3), nn_ws(7).

2024-01-25 nanomsg 1.1.5