apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: Porting to APR failed
Date Thu, 22 Jan 2009 16:59:38 GMT
Graham Leggett wrote:
> Paul Querna wrote:
> 
>> Check out this:
>> <https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/proxy/mod_proxy_fdpass.c>

>>
>>
>> It provides a few functions and boxes a UDS in and out of an apr_socket.
> 
> Does a mechanism exist to create an apr_socket_t from a given 
> pre-existing fd, possibly given to you by another library or non-apr 
> piece of code?
>

Of course, apr_os_sock_put:
 
<http://apr.apache.org/docs/apr/1.2/group__apr__portabile.html#g729bd6825dfadd814de2aa602462d838>

Mime
View raw message