Re: RFC 2553 sockaddr_in6.sin6_len???
Francis Dupont <[email protected]>
| Newsgroups | gmane.network.ipv6.general |
|---|---|
| Message-ID | <[email protected]> |
In your previous mail you wrote:
What's the right thing to do with sin6_len if SIN6_LEN is defined. Are you
supposed to do:
struct sockaddr_in6 foo;
foo.sin6_len = SIN6_LEN;
or
address.sin6_len = sizeof (foo);
=> second, i.e.:
#ifdef SIN6_LEN
address.sin6_len = sizeof (foo);
#endif
Regards
[email protected]
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [email protected]