[MUD-Dev] Re: Socket-Script: Socket-capabable script language and matching library

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Wed Aug 5 07:31:49 New Zealand Standard Time 1998

[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 at ami-cg.GraySage.Edmonton.AB.CA

More information about the MUD-Dev mailing list