On Fri, Jan 11, 2002 at 12:16:15PM -0300, prueba3@frh.utn.edu.ar wrote: > Hi! > > >Single Unix says EAFNOSUPPORT should be returned by socket(2) too, > >so it could be changed. > > Why does Single Unix say socket(2) should return EAFNOSUPPORT? > > I mean, as far as I know, the first argument of socket(2) is a protocol family, and *not* an address family... In Single Unix the first argument of socket(2) is specified as an address family. That was probably a wise decision because it is unlikely that there was ever any socket implementation that used different values for AF_FOO than PF_FOO, because that would have broken too many programs. -Andi - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html