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: > [EMAIL PROTECTED] 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 | [EMAIL PROTECTED] | PGP public key at web site: > http://www.geocities.com/SiliconValley/Park/9289/ > Born in Roswell... married an alien...
