Lucian Adrian Grijincu wrote: > On Thu, Jan 22, 2009 at 5:55 PM, Mathias Brossard > <[email protected]> wrote: >> Andreas Otto wrote: >>> APR does not support Unix Domain Sockets >> You *can* use Unix Domain Sockets with APR, it's just not as easy as >> I think >> (and apparently you do too) it should be. I'll forward you in private the >> thread >> I initiated on the same topic (it's from this list around 2006/04/27). > > For archiving reasons and helping others that will search for "how to > use af_unix unix domain sockets with apr", it would be better to send > the link to the message (mail-archives.apache.org, or another archiver > subscribed to APR) as a reply to this thread on the list :)
You're right. I didn't find an obvious way to link to a thread so I'll link to the most important mail (which also quotes mine) : http://mail-archives.apache.org/mod_mbox/apr-dev/200604.mbox/<[email protected]> >From what I understood from the mail was that I should create my socket on my own and then use apr_os_sock_put to shove it into an apr_socket. If memory serves me right, it worked. Sincerely, -- Mathias Brossard
begin:vcard fn:Mathias Brossard n:Brossard;Mathias org:OpenTrust;R&D email;internet:[email protected] title:Senior Architect x-mozilla-html:FALSE version:2.1 end:vcard
