On Fri, Oct 22, 2010 at 23:08, Alexander Farber <alexander.far...@gmail.com> wrote: > Unfortunately there aren't many example for the protocol handlers > on the web or in Nick's book. I've come up with the following, > but don't know how to get the client socket via conn_rec?
apr_socket_t *client = ap_get_module_config(conn->conn_config, &core_module); But note that in most cases direct socket I/O is a bad idea.