On Wed, 06 Feb 2013 21:59:43 +0100
Daniel Pocock <[email protected]> wrote:
> 
> More recently, I wanted to add optional TLS support to dynalogin.  It
> also uses APR sockets.  I repeated the same trick, but I'd prefer to
> find a more elegant solution than:
> 
> https://github.com/dynalogin/dynalogin/blob/master/dynalogind/dynalogind.c#L429
>  (accessing socketdes)
> 
> Can anyone comment on this?  In particular, how to get the socket, or
> how to make TLS work with APR in some other way?

Were you looking for something like apr_os_sock_get(),
apr_os_sock_put() and apr_os_sock_make()?

20/20 hindsite, I wish we hadn't abbreviated it to sock when the
base type was apr_socket_t.

Reply via email to