[M3devel] sin_len?

Jay K jay.krell at cornell.edu
Sun Aug 23 10:11:42 CEST 2009


I was going to convert from a portable idealized form of struct_sockaddr_in/un, but I could only support AF_INET and AF_LOCAL/UNIX, and there are many others, so this isn't really viable. Instead I'll strive for the current approach of duplicating the headers reliably, in this small case.
 
 - Jay




----------------------------------------
> From: jay.krell at cornell.edu
> To: m3devel at elegosoft.com
> Date: Sun, 23 Aug 2009 07:28:42 +0000
> Subject: [M3devel] sin_len?
>
>
> I'm looking to
> - remove the platform dependency defining struct_sockaddr_in
> - provide a platform independent struct_sockaddr_un
>
> What is the deal with the sin_len field?
> We never fill it in?
> It is difficult to find documentation as to the meaning of the field.
>
> There is this:
>
> http://lists.samba.org/archive/rsync/2002-February/001531.html
>
> But I believe we have always just left it as zero and I will probably do that.
>
>
> I believe the historical practise here is out of date with IPv6 around, as well.
>
> - Jay


More information about the M3devel mailing list