How to transfer file descriptors with UNIX domain sockets?

Lars Nystr|m nystrom at enea.se
Sat Jun 30 00:08:58 AEST 1990


In article <37317 at ucbvax.BERKELEY.EDU> rgm at OCF.Berkeley.EDU (Rob Menke) writes:
>
>I have seen references in various IPC tutorials and manuals that it is
>possible to transfer file descriptors between processes via UNIX domain
>sockets using sendmsg(2) and recvmsg(2).  Unfortunately, none of these
>documents contain anything more than a tantalizing aside.

There is a book that explains how to do this.

UNIX Network Programming
W. Richard Stevens
Prentice-Hall 1990
ISBN 0-13-949876-1

An example will be E-mailed to you.



More information about the Comp.unix.questions mailing list