apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: [PATCH] Add support for Unix domain sockets
Date Sun, 06 Jan 2002 03:37:07 GMT
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.


View raw message