NAME

XPF_IPC - inter-process transport mechanism

SYNOPSIS

#include <xio/socket.h>

DESCRIPTION

Inter-process transport allows for sending messages between processes within a single box. The implementation uses native IPC mechanism provided by the local operating system and the IPC addresses are thus OS-specific.

On POSIX-compliant systems, UNIX domain sockets are used and IPC addresses are file references. Note that both relative (ipc://test.ipc) and absolute (ipc:///tmp/test.ipc) paths may be used. Also note that access rights on the IPC files must be set in such a way that the appropriate applications can actually use them.

EXAMPLE

s2 = xlisten ("ipc:///tmp/test.ipc");
s = xconnect ("ipc:///tmp/test.ipc");

SEE ALSO

xpf_inproc(7) xpf_tcp(7) xbind(3) xlisten(3) xconnect(3) xio(7)

AUTHORS

Dong Fang <yp.fangdong@gmail.com>
Martin Sustrik <sustrik@250bpm.com>