Date: Fri, 28 Aug 1998 12:00:49 +0000 From: Mike Smith <mike@smith.net.au> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: chanders@timing.com (Craig Anderson), freebsd-hackers@FreeBSD.ORG, brhall@timing.com Subject: Re: Help with passing fd on FreeBSD Message-ID: <199808281200.MAA00381@dingo.cdrom.com> In-Reply-To: Your message of "Fri, 28 Aug 1998 18:28:36 %2B0200." <199808281628.SAA05374@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Oops, I turned the page and the BSD4.3+ example looks like the FreeBSD > > struct. The Stevens book appears to have a good example. > > > > > Can someone give me pointers on passing open file descriptors on FreeBSD? > > still, this looks to me one of the most obscure interfaces in the OS. > Does any real application use that ? I've used it before for passing client connections off from a server to a preforked long-lived "work slave". It's quite handy for that sort of thing - especially with network connections where you can't just pass a reference in filename space. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808281200.MAA00381>