RFC 2553 sockaddr_in6.sin6_len???

[email protected]
Newsgroups gmane.network.ipv6.general
Message-ID <[email protected]>
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);
 

Roy Smith <[email protected]> 
Staff SW Engineer 
EMC / Smarts 
+1 914 580 3427
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.