cc [flags] files -lnanomsg [libraries]
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