Jeff Trawick <[EMAIL PROTECTED]> writes: > +apr_status_t apr_make_os_sock(apr_socket_t **apr_sock, apr_os_sock_t > *os_sock, > + struct sockaddr *local, struct sockaddr > *remote, > + int family, int type, apr_pool_t *cont) > +{ ... > + memcpy(&(*apr_sock)->remote_addr->sa.sin, local, > + (*apr_sock)->remote_addr->salen); > + }
add code for pool cleanup here :) > + > + return APR_SUCCESS; > +} -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...