Re: socket() returns "Invalid argument". Why? (UNPv1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, 11 Jan 2002 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...
>
> Greetings,
> Fernando Gont
> e-mail: fernando@gont.com.ar
>
>
I thought that,  AF_INET for example in the first argument stood for Address_Family_Internet? Could be a misnomer however :)

Chris


-
: 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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux