SYNOPSIS

#include <nanomsg/nn.h>

#include <nanomsg/ipc.h>

DESCRIPTION

The ipc:// scheme is a compatibility alias for the platform’s native inter-process transport. Existing IPC addresses and NN_IPC socket options continue to work.

On POSIX systems, ipc:// aliases nn_unix(7). Addresses identify UNIX domain socket files. Both relative (ipc://test.ipc) and absolute (ipc:///tmp/test.ipc) paths are supported.

On Windows, ipc:// aliases nn_winpipe(7). Addresses identify named pipes; ipc://test uses the pipe \\.\pipe\test. Windows applications can explicitly select unix:// to use AF_UNIX sockets instead.

New applications can use the explicit unix:// and winpipe:// schemes.

EXAMPLE

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

SEE ALSO

AUTHORS