From dev-return-5327-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Sun Jan 06 03:39:58 2002 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 26996 invoked by uid 500); 6 Jan 2002 03:39:57 -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 26985 invoked from network); 6 Jan 2002 03:39:57 -0000 Message-ID: <008a01c19663$bd557e70$93c0b0d0@v505> From: "William A. Rowe, Jr." To: "Justin Erenkrantz" , References: <20020105004825.GD14870@ebuilt.com> <20020106011305.GR14870@ebuilt.com> Subject: Re: [PATCH] Add support for Unix domain sockets Date: Sat, 5 Jan 2002 21:37:07 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-OriginalArrivalTime: 06 Jan 2002 03:39:26.0551 (UTC) FILETIME=[BD557E70:01C19663] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Justin Erenkrantz" 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