From dev-return-21312-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Thu Jan 22 16:22:27 2009 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 43610 invoked from network); 22 Jan 2009 16:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 16:22:26 -0000 Received: (qmail 6329 invoked by uid 500); 22 Jan 2009 16:22:26 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 6093 invoked by uid 500); 22 Jan 2009 16:22:25 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 6084 invoked by uid 99); 22 Jan 2009 16:22:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 08:22:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chip@force-elite.com designates 72.232.80.58 as permitted sender) Received: from [72.232.80.58] (HELO constant.northnitch.com) (72.232.80.58) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 16:22:17 +0000 Received: from [192.168.64.112] (unknown [65.204.29.130]) by constant.northnitch.com (Postfix) with ESMTP id ECDED89EF; Thu, 22 Jan 2009 10:22:05 -0600 (CST) Message-ID: <49789D0C.3070902@force-elite.com> Date: Thu, 22 Jan 2009 11:21:32 -0500 From: Paul Querna User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Andreas Otto CC: dev@apr.apache.org Subject: Re: Porting to APR failed References: <200901221519.30785.aotto1968@onlinehome.de> In-Reply-To: <200901221519.30785.aotto1968@onlinehome.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andreas Otto wrote: > Dear APR Support Team, > > some time ago I made the strategic decision to port my software: > > http://libmsgque.sourceforge.net/ > > to APR by able to use all of the nice features. > > Some days ago I finally start to do this job ... but today I got a massive > disappointment ... > > You ask why ? > > It's the UNIX Domain Socket issue !!! > > well Unix-Domains are very beautiful in terms of usability > > you only have to create the "sockaddr_un" as part of "sockaddr" > and you can use the same code you allready written for > network sockets to use local sockets > > The main advantages are: > > 1. 50% faster as network sockets (on linux) > 2. absolute secure -> no network access > > now the problem: > > APR does not support Unix Domain Sockets Check out this: It provides a few functions and boxes a UDS in and out of an apr_socket. -Paul