apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Travis <jtra...@p00p.org>
Subject Re: [PATCH] socket family fetching
Date Tue, 01 May 2001 01:13:44 GMT
This is also fine by me.  As long as I can get the family easily, and
don't have to check 'well am I in ipv6?  yes?  ok, gotta go to sin6', etc.

-- Jon



On Mon, Apr 30, 2001 at 08:57:16PM -0400, Jeff Trawick wrote:
> rbb@covalent.net writes:
> 
> > +1 for the socket family function that Jon posted earlier today.  Unless
> > somebody objects, I'll commit it tonight.
> 
> I don't think we want accessor functions for everything
> within as well as the iterator function.  A plain family field in
> apr_sockaddr_t keeps everybody happy.  (call it "-0" :) )
> 
> If you commit something, I think that addr->sa.sin.sin_family should
> have the right value and would result in simpler logic.
> 
> -- 
> Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
>        http://www.geocities.com/SiliconValley/Park/9289/
>              Born in Roswell... married an alien...

Mime
View raw message