On 09/04/2017 08:35 AM, honan li wrote: > Florian, Thanks for your explanation, it makes sense. > > But I still don't understand what is the (__ss_aligntype __ss_align) used for? It's there to ensure appropriate alignment for struct sockaddr_storage, so that it is sufficiently aligned to store any socket address. Florian