apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Re: [PATCH] Add support for Unix domain sockets
Date Fri, 11 Jan 2002 10:41:59 GMT
I've been up all night so this may be off base...

AFAICR sockets using AF_UNIX are essentially local inter process
communication channels?

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? :)

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.


----- Original Message -----
From: "William A. Rowe, Jr." <wrowe@covalent.net>
To: <jfrederic.clere@fujitsu-siemens.com>
Cc: "Justin Erenkrantz" <jerenkrantz@ebuilt.com>; <dev@apr.apache.org>
Sent: Friday, January 11, 2002 10:03 AM
Subject: Re: [PATCH] Add support for Unix domain sockets

> From: "jean-frederic clere" <jfrederic.clere@fujitsu-siemens.com>
> 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
> > 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
> feature.  If winsock doesn't add it, their loss.
> We need to return APR_ENOTIMPL for that, I suppose.
> Bill

View raw message