tis 2008-04-01 klockan 17:24 +0800 skrev Adrian Chadd:

> Wait a sec, which platforms don't have sin_len in which struct?

I think amos meant to say ss_len in struct sockaddr_storage, which not
very frequently seen as not all address families need a length.. (for
example on Linux)

I do not know of any platforms not having sin_len in struct sockaddr_in
or sockaddr_in6.. but I guess it doesn't really hurt to test for them
just in case.

Regards
Henrik

Reply via email to