1NANOMSG(7) nanomsg 1.1.5 NANOMSG(7)
2
3
4
6 nanomsg - scalability protocols library
7
9 cc [flags] files -lnanomsg [libraries]
10
12 Following functions are exported by nanomsg library:
13
14 Create an SP socket
15 nn_socket(3)
16
17 Close an SP socket
18 nn_close(3)
19
20 Set a socket option
21 nn_setsockopt(3)
22
23 Retrieve a socket option
24 nn_getsockopt(3)
25
26 Add a local endpoint to the socket
27 nn_bind(3)
28
29 Add a remote endpoint to the socket
30 nn_connect(3)
31
32 Remove an endpoint from the socket
33 nn_shutdown(3)
34
35 Send a message
36 nn_send(3)
37
38 Receive a message
39 nn_recv(3)
40
41 Fine-grained alternative to nn_send
42 nn_sendmsg(3)
43
44 Fine-grained alternative to nn_recv
45 nn_recvmsg(3)
46
47 Allocation of messages
48 nn_allocmsg(3) nn_reallocmsg(3) nn_freemsg(3)
49
50 Manipulation of message control data
51 nn_cmsg(3)
52
53 Multiplexing
54 nn_poll(3)
55
56 Retrieve the current errno
57 nn_errno(3)
58
59 Convert an error number into human-readable string
60 nn_strerror(3)
61
62 Query the names and values of nanomsg symbols
63 nn_symbol(3)
64
65 Query properties of nanomsg symbols
66 nn_symbol_info(3)
67
68 Query statistics on a socket
69 nn_get_statistic(3)
70
71 Start a device
72 nn_device(3)
73
74 Notify all sockets about process termination
75 nn_term(3)
76
77 Environment variables that influence nanomsg work
78 nn_env(7)
79
80 Following scalability protocols are provided by nanomsg:
81
82 One-to-one protocol
83 nn_pair(7)
84
85 Request/reply protocol
86 nn_reqrep(7)
87
88 Publish/subscribe protocol
89 nn_pubsub(7)
90
91 Survey protocol
92 nn_survey(7)
93
94 Pipeline protocol
95 nn_pipeline(7)
96
97 Message bus protocol
98 nn_bus(7)
99
100 Following transport mechanisms are provided by nanomsg:
101
102 In-process transport
103 nn_inproc(7)
104
105 Inter-process transport
106 nn_ipc(7)
107
108 TCP transport
109 nn_tcp(7)
110
111 WebSocket transport
112 nn_ws(7)
113
114 The following tool is installed with the library:
115
116 nanocat
117 nanocat(1)
118
120 Garrett D’Amore <garrett@damore.org> Martin Sustrik
121 <sustrik@250bpm.com>
122
123
124
125 2021-07-22 NANOMSG(7)