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>

Reply via email to