Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 15:56:18 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        naddy@mips.rhein-neckar.de (Christian Weisgerber)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /usr/src: example of file handle passing across socket? 
Message-ID:  <57542.947512578@axl.noc.iafrica.com>
In-Reply-To: Your message of "07 Jan 2000 15:24:18 %2B0100." <854sui$1dss$1@bigeye.rhein-neckar.de> 

next in thread | previous in thread | raw e-mail | index | archive | help


On 07 Jan 2000 15:24:18 +0100, Christian Weisgerber wrote:

> Do we have an example in the source tree of how to pass an open
> file descriptor across a socket?
> (Yes, I have chapter 15.3 of Stevens in front of me.)

I've seen something close to what you want done in inetd (see the
handling of signalpipe).  You'd want to read and write something other
than a char, obviously, but I don't see that being too much of a
problem.

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57542.947512578>