1NN_IPC(7)                        nanomsg 1.1.5                       NN_IPC(7)
2
3
4

NAME

6       nn_ipc - inter-process transport mechanism
7

SYNOPSIS

9       #include <nanomsg/nn.h>
10
11       #include <nanomsg/ipc.h>
12

DESCRIPTION

14       Inter-process transport allows for sending messages between processes
15       within a single box. The implementation uses native IPC mechanism
16       provided by the local operating system and the IPC addresses are thus
17       OS-specific.
18
19       On POSIX-compliant systems, UNIX domain sockets are used and IPC
20       addresses are file references. Note that both relative (ipc://test.ipc)
21       and absolute (ipc:///tmp/test.ipc) paths may be used. Also note that
22       access rights on the IPC files must be set in such a way that the
23       appropriate applications can actually use them.
24
25       On Windows, named pipes are used for IPC. IPC address is an arbitrary
26       case-insensitive string containing any character except for backslash.
27       Internally, address ipc://test means that named pipe \\.\pipe\test will
28       be used.
29

EXAMPLE

31           nn_bind (s1, "ipc:///tmp/test.ipc");
32           nn_connect (s2, "ipc:///tmp/test.ipc");
33

SEE ALSO

35       nn_inproc(7) nn_tcp(7) nn_bind(3) nn_connect(3) nanomsg(7)
36

AUTHORS

38       Martin Sustrik <sustrik@250bpm.com>
39
40
41
42                                  2023-07-20                         NN_IPC(7)
Impressum