This structure is used to store a generic socket address.

Public Attributes#

uint8_t

Total length of the structure.

Address family (e.g., AF_INET).

char

Socket address data. The actual format is determined by the address family.

Public Attribute Documentation#

sa_len#

uint8_t sockaddr::sa_len

Total length of the structure.


sa_family#

sa_family_t sockaddr::sa_family

Address family (e.g., AF_INET).


sa_data#

char sockaddr::sa_data[14]

Socket address data. The actual format is determined by the address family.