[ds6-devel] nc6/src network.c,1.9,1.10

Mauro Tortonesi mauro@deepspace6.net
Sun Dec 15 21:31:44 2002


On Sun, 15 Dec 2002, Simone Piunno wrote:

> On Sun, Dec 15, 2002 at 10:02:55PM +0200, Chris Leishman wrote:
> 
> > >Why this change?
> > 
> > Just for cleanliness.  There is no real difference between PF_* and 
> > their AF_* equivalent in current implementations, however the docs for 
> > getaddrinfo calls for the use of PF_* in these flags (probably since 
> > they specify protocol families).
> > 
> > If you've got a compelling reason it can be changed back.
> 
> I was courious...
> to me, it'd look more sensible if getaddrinfo used AF_...
>                                      ^^^^
> but ok, if the specs call for PF_ there should be a good reason.

really, there is __no__ reason. hopefully, in the next posix drafts PF_* 
will be deprecated and we will always use AF_*. for now, chris is right 
using PF_* here.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi			mauro@deepspace6.net
				mauro@ferrara.linux.it
Deep Space 6 - IPv6 on Linux	http://www.deepspace6.net
Ferrara Linux Users Group	http://www.ferrara.linux.it



More information about the ds6-devel mailing list