[Home] [Groups] - Message: [Prev in Group] [Next in Group]
8077: [MUD-Dev] Re: Socket-Script: Socket-capabable script language and matching library
[Full Header] [Plain Text]
From: Chris Gray <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 5 Aug 1998 07:31:49 -0600
Organization: Kanga.Nu
[J C Lawrence:]
[Passing open fd's from one process to another.]
>Under Unix you're out of luck. Under
>Unix file handles are private to processes and *CANNOT* be handed
>between processes (without nasty kernel/TCP/IP stack hacking> (ie file
>handle 0xXXXX under one process has no relevance to handle OxXXXX of
>another process).
See my previous post. I've personally done this under SunOS4, Solaris,
HP-UX and AIX. The system translates the fd into a new process-local
fd as it passes access rights over a socket between them.
--
Chris Gray cg@ami-cg.GraySage.Edmonton.AB.CA