apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: [PATCH] Add support for Unix domain sockets
Date Fri, 11 Jan 2002 09:44:59 GMT
"William A. Rowe, Jr." wrote:
> 
> From: "Justin Erenkrantz" <jerenkrantz@ebuilt.com>
> Sent: Saturday, January 05, 2002 7:13 PM
> 
> > Sander ran a test on Win32 and it gave an error when using
> > socket(AF_UNIX...).  So, there isn't a clean way to do this on
> > native Win32.  So, is it still worth it to introduce this in APR?
> >
> > I think so, but I'll defer to the consensus.  I'd imagine that we
> > could have APR_LOCAL/AF_UNIX map to named pipes on Win32.  I'm
> > not familiar enough with them on Win32 to know how closely they
> > correspond to Unix domain sockets.  From what little I've heard,
> > I *think* they sound similar.  I'm probably wrong.  -- justin
> 
> Well, there is nothing wrong with extending sockets to support them,
> and failing appropriately [would be really cool to return APR_ENOTIMPL
> instead of {insert bogus win32 error here}.]
> 
> I'd be happy with a named pipe implementation, if -I- knew what Unix
> domain sockets were... I'm afraid I'm as ignorant of your area as you
> are in mine, this time :)  We should probably pound this out on irc.
> 
> Bill

Hi,

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.

Cheers

Jean-frederic

Mime
View raw message