MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

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



[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




[ Other Periods  | Other mailing lists  | Search  ]