apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: Networking functions?
Date Sat, 25 Nov 2000 23:37:46 GMT
On Fri, Nov 24, 2000 at 12:22:21AM -0000, David Reid wrote:
> 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)?

"Feel Free."

:-)

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message