Messages in this thread | | | Date | Wed, 19 Sep 2007 10:27:10 -0700 | From | Ulrich Drepper <> | Subject | Re: follow-up: discrepancy with POSIX |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ulrich Drepper wrote: > Yes, but for IPv4/6 it's not an issue. Some implementations might > handle all-zeros and the spec _currently_ calls for it. In this case an > alignment would be good.
Searching the web shows up this:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man2/connect.2.html
Datagram sockets may dissolve the association by connecting to an invalid address, such as a null address or an address with the address family set to AF_UNSPEC (the error EAFNOSUPPORT will be harmlessly returned).
I.e., at least Apple implements both variants.
- -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFG8Vvu2ijCOnn/RHQRAsSfAJkBELtiNyul8wMOjVv1x7LfvDWw/ACfR0D0 cm+k1wfhCsT4GjbF3uac+eY= =nksN -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |