From: Oisin McGuinness <oisin@smbc-cm.com>
Subject: Re: passing an open file or socket descriptor
Date: Fri, 30 Nov 2001 17:47:18 -0500 [thread overview]
Message-ID: <3C080C76.71BBD7B2@smbc-cm.com> (raw)
In-Reply-To: 3C06B3C9.E15E8A3C@umkc.edu
David Nicol wrote:
>
> is there a way to pass an open fd to another process?
Read Chapter 15 in the late great W. Richard Stevens' book, "Advanced
Programming in the Unix Environment",
published by Addison Wesley, 1992, ISBN 0-201-56317-7. (Everyone should
own this book.)
He describes the ins and outs of this, with lots of source code. (If you
are doing this for IPC, you
should also consult Volume 2 of the 2nd edition of his "Unix Network
Programming", Prentice Hall 1999, ISBN 0-13-081081-9. It is a great pity
volume 3 did not get done.)
--
Oisin McGuinness
SMBC Capital Markets
277 Park Avenue
New York NY 10172
USA
(212)-224-4913, email: oisin@smbc-cm.com
next prev parent reply other threads:[~2001-11-30 22:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-29 22:16 passing an open file or socket descriptor David Nicol
2001-11-30 22:47 ` Oisin McGuinness [this message]
2001-11-30 23:38 ` Oisin McGuinness
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox