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
On Tue, 4 Aug 1998, J C Lawrence wrote:
> 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).
Can't you pass descriptors between processes using sendmsg/recvmsg on an
AF_UNIX socket?
man recvmsg:
Open file descriptors are now passed as ancillary data for
AF_UNIX domain sockets, with cmsg_level set to SOL_SOCKET
and cmsg_type set to SCM_RIGHTS.
I haven't used it myself, though..
-O
- Thread context:
- [MUD-Dev] 3D World Models,
Leach, Brad BA Leach.Brad.BA#bhp,com.au, Wed 05 Aug 1998, 08:31 GMT
- [MUD-Dev] Socket-Script: Socket-capabable script language and matching library,
J C Lawrence claw#under,engr.sgi.com, Wed 05 Aug 1998, 02:18 GMT
- [MUD-Dev] Re: Interesting poll,
John Bertoglio alexb#internetcds,com, Wed 05 Aug 1998, 01:54 GMT
- [MUD-Dev] UOL/Linux client URLs,
J C Lawrence claw#under,engr.sgi.com, Wed 05 Aug 1998, 00:55 GMT
[ Other Periods
| Other mailing lists
| Search
]