apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Networking functions?
Date Fri, 24 Nov 2000 00:22:21 GMT
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

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...


View raw message