Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!yale!quasi-eli!cs.yale.edu!ciancarini-paolo From: ciancarini-paolo@cs.yale.edu (paolo ciancarini) Newsgroups: comp.unix.internals Subject: Berkley sockets Summary: is it possible to 'pass' a socket? Message-ID: <30295@cs.yale.edu> Date: 21 Apr 91 23:50:18 GMT Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 17 Nntp-Posting-Host: poe.systemsy.cs.yale.edu Originator: cianca@poe.CS.Yale.Edu I would like to pass a socket from a process to another; the two processes in general are unrelated (they could even be on different machines, say sharing an NSF FS). To be a little more concrete, I have a concurrent server that uses a connection-oriented protocol using the sequence: socket/bind/listen/accept/fork. I have other processes, not created by the server, that would like to get the particular socket obtained after accept. So, is it possible to pass such a socket among unrelated processes? Please answer by E-mail. I will summarize if there is any interest (and any answer!). Paolo Ciancarini