apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: Networking functions?
Date Sat, 02 Dec 2000 00:23:49 GMT
Jeff Trawick <trawickj@bellsouth.net> writes:

> "David Reid" <dreid@jetnet.co.uk> writes:
> > 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)

Just FYI... While reading through the KAME patch today I noticed that
apr_*printf() supports sockaddr formatting.  They saw the need to
patch that (for logging perhaps?).

Jeff Trawick | trawick@ibm.net | PGP public key at web site:
          Born in Roswell... married an alien...

View raw message