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.


Definition at line 259 of file components/service/bsd_socket/inc/socket.h

sa_family#

sa_family_t sockaddr::sa_family

Address family (e.g., AF_INET).


Definition at line 260 of file components/service/bsd_socket/inc/socket.h

sa_data#

char sockaddr::sa_data[14]

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


Definition at line 261 of file components/service/bsd_socket/inc/socket.h