You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Jeff Trawick <tr...@bellsouth.net> on 2000/12/02 01:23:49 UTC

Re: Networking functions?

Jeff Trawick <tr...@bellsouth.net> writes:

> "David Reid" <dr...@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:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...