Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 31919 invoked by uid 500); 11 Jan 2002 12:12:14 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 31908 invoked from network); 11 Jan 2002 12:12:14 -0000 Sender: jfclere@vtxrm2.bcn.fsc.net Message-ID: <3C3ED720.45DAED6A@fujitsu-siemens.com> Date: Fri, 11 Jan 2002 13:14:24 +0100 From: jean-frederic clere Reply-To: jfrederic.clere@fujitsu-siemens.com X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.7 i686) X-Accept-Language: en, fr, de MIME-Version: 1.0 To: David Reid , apr Subject: Re: [PATCH] Add support for Unix domain sockets References: <20020105004825.GD14870@ebuilt.com> <20020106011305.GR14870@ebuilt.com> <008a01c19663$bd557e70$93c0b0d0@v505> <3C3EB41B.5257A352@fujitsu-siemens.com> <04f101c19a88$2537fae0$93c0b0d0@v505> <01a301c19a8c$99022c80$7500a8c0@goliath> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Reid wrote: > > I've been up all night so this may be off base... > > AFAICR sockets using AF_UNIX are essentially local inter process > communication channels? They are local sockets. The difference is a little like the difference between IPV4 and IPV6. The socket() call need a different parameter and the addresses are different (bind() and connect()). > > If this is the case then why are we having this discussion about adding more > to the network_io and not simply talking about adding an ipc_ set of > functions to apr that allow each platform to implement it in their own way, > as we've done with all the other stuff in apr? After all that's what apr is > for isn't it? :) That is only a small addition to the apr sockets. An ipc_ should be in apr-util? That is a higher level layer. > > This may take a bit of getting the api correct (at least to allow it work on > all platforms) but I'm sure we can manage it. > > david > > ----- Original Message ----- > From: "William A. Rowe, Jr." > To: > Cc: "Justin Erenkrantz" ; > Sent: Friday, January 11, 2002 10:03 AM > Subject: Re: [PATCH] Add support for Unix domain sockets > > > From: "jean-frederic clere" > > Sent: Friday, January 11, 2002 3:44 AM > > > > > > > I would like to see this patch committed. > > > I am using AF_UNIX sockets in mod_jk and it would be nice to do it thru > APR > > > instead my own code. > > > > > > About win32 support I am afraid I cannot help. But I think it is a > little like > > > IPV6 on IPV4 only machines: we should just say APR_LOCAL is not > supported on > > > win32. > > > > I could be convinced here [for a change :-] > > > > Since this is a fairly old addition to the -sockets- layer, I can't really > > stand in the way. We aren't talking about specific platforms, but a > sockets > > feature. If winsock doesn't add it, their loss. > > > > We need to return APR_ENOTIMPL for that, I suppose. > > > > Bill > > > >