Should we have a function in apr that can take an apr_sockaddr_t and return a formatted address string? I mean we now need to deal with IPv4/IPv6 and it'd be nice to abstract the need for different formatting away from the client.
apr_status_t apr_format_address(char *string, apr_sockaddr_t *sa) Should we have a flag that we pass in to say what we want (address only, address:port, port only)? Just some random thoughts again... david
