Tyler MacDonald <[EMAIL PROTECTED]> wrote:
>       I'm working on a raw tcp/ip handler which is going to have to do
> nonblocking I/O. I'd like to get direct access to the apr_socket_t from the
> request_rec/conn_rec...

OK, I found this in mod_proxy:

    apr_socket_t *client_socket = 
ap_get_module_config(r->connection->conn_config, &core_module);

But that is only avaialable if CORE_PRIVATE is defined... Does that mean my
module needs to define CORE_PRIVATE in order to get access to an
apr_socket_t? That seems dirty to me... is there some better way?

                - Tyler


Reply via email to