> +
> +apr_status_t apr_getaddrinfo(apr_sockaddr_t **sa, 
> +                             const char *hostname,
> +                             apr_int32_t family,
> +                             apr_port_t port,
> +                             apr_pool_t *p);

Can/should we make the hostname, family, port, and pool a complete
structure that is shared across platforms?  Kind of like apr_finfo_t?

> +static void set_sockaddr_vars(apr_sockaddr_t *addr, int family)
> +{
> +    addr->sa.sin.sin_family = family;
> +    addr->sa.sin.sin_family = family;

Why twice?

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to