|
|
|
|
|
by kazinator
573 days ago
|
|
The array should not be touched so the question is moot. The struck sockaddr type should only be used for pointers, which are cast to the correct type according to their family before they're are dereferenced, with the exception that the sa_family member can be accessed through the sockaddr base. For defining or allocating an object that can hold any address, sa_storage should be used, mentioned in the article. |
|